Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 106.1 kB / 15.98 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 198.6 kB / 16.91 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 482.3 MB / 0.7549 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 64.25 kB / 0.9239 GB, free: 472 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8905/0.8927, allocations: 162.2 MB / 1.082 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003101/0.8959, allocations: 2.099 MB / 1.084 GB, free: 212 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002502/0.8984, allocations: 1.37 MB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.8985, allocations: 1 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007342/0.8993, allocations: 254.7 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.9005, allocations: 398.9 kB / 1.086 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 9.829e-06/0.9006, allocations: 0 / 1.086 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005119/0.9011, allocations: 399.8 kB / 1.087 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.041e-05/0.9012, allocations: 21.42 kB / 1.087 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.9014, allocations: 147.2 kB / 1.087 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.9017, allocations: 248.6 kB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.9017, allocations: 22.81 kB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005673/0.9023, allocations: 265 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004061/0.9027, allocations: 370.1 kB / 1.088 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003646/0.9031, allocations: 308.6 kB / 1.088 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008324/0.9039, allocations: 0.6519 MB / 1.089 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.777e-05/0.9039, allocations: 0 / 1.089 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.375e-06/0.904, allocations: 0.8125 kB / 1.089 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.904, allocations: 0 / 1.089 GB, free: 14.14 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001385/0.9054, allocations: 0.9468 MB / 1.09 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.9054, allocations: 8.906 kB / 1.09 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006434/0.9061, allocations: 124.1 kB / 1.09 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.9074, allocations: 0.9079 MB / 1.091 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.9074, allocations: 9.656 kB / 1.091 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.9074, allocations: 18.94 kB / 1.091 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.9084, allocations: 0.6445 MB / 1.091 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.9085, allocations: 0.7969 kB / 1.091 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.9085, allocations: 5.312 kB / 1.091 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.9085, allocations: 3.406 kB / 1.091 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.91, allocations: 1.104 MB / 1.092 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003172/0.9132, allocations: 2.048 MB / 1.094 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008252/0.9141, allocations: 349.3 kB / 1.095 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.9145, allocations: 239.6 kB / 1.095 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.815e-05/0.9145, allocations: 26.84 kB / 1.095 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.9146, allocations: 36.62 kB / 1.095 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=19): time 2.374e-06/0.9146, allocations: 0 / 1.095 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19): time 0.001405/0.916, allocations: 0.6993 MB / 1.096 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.9161, allocations: 54.3 kB / 1.096 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002935/0.919, allocations: 2.069 MB / 1.098 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.271e-05/0.9191, allocations: 30.77 kB / 1.098 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.9195, allocations: 338.2 kB / 1.098 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.214e-05/0.9196, allocations: 60.7 kB / 1.098 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.9197, allocations: 64.14 kB / 1.098 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.9199, allocations: 316.7 kB / 1.098 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007099/0.9206, allocations: 0.5271 MB / 1.099 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006808/0.9213, allocations: 0.5604 MB / 1.1 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.9224, allocations: 0.7673 MB / 1.1 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.9224, allocations: 0 / 1.1 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001738/0.9241, allocations: 1.21 MB / 1.101 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.9242, allocations: 5.281 kB / 1.101 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.9242, allocations: 1.438 kB / 1.101 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.9242, allocations: 1.797 kB / 1.101 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.9246, allocations: 66.06 kB / 1.102 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.9246, allocations: 0 / 1.102 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/0.9251, allocations: 36.86 kB / 1.102 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.9251, allocations: 19 kB / 1.102 GB, free: 8.844 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003785/0.9255, allocations: 272.6 kB / 1.102 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.9257, allocations: 70.22 kB / 1.102 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009518/0.9266, allocations: 0.5328 MB / 1.102 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.9267, allocations: 2.781 kB / 1.102 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.9267, allocations: 0 / 1.102 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.9267, allocations: 1.312 kB / 1.102 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/0.9303, allocations: 2.579 MB / 1.105 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.9303, allocations: 5.297 kB / 1.105 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.9306, allocations: 54.09 kB / 1.105 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-06/0.9307, allocations: 6.391 kB / 1.105 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.9307, allocations: 16.38 kB / 1.105 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/0.9307, allocations: 10.55 kB / 1.105 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/0.9307, allocations: 4.875 kB / 1.105 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.9319, allocations: 0.664 MB / 1.106 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.9322, allocations: 161.2 kB / 1.106 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.9323, allocations: 16.14 kB / 1.106 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/0.9326, allocations: 20.41 kB / 1.106 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.9327, allocations: 21.97 kB / 1.106 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.9327, allocations: 12.36 kB / 1.106 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002051/0.9348, allocations: 1.599 MB / 1.108 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9348, allocations: 0 / 1.108 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007778/0.9356, allocations: 167.8 kB / 1.108 GB, free: 6.223 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000379/0.936, allocations: 162.9 kB / 1.108 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.9372, allocations: 0.7788 MB / 1.109 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.9372, allocations: 0 / 1.109 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.9376, allocations: 228.5 kB / 1.109 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009989/0.9386, allocations: 180.2 kB / 1.109 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.9412, allocations: 1.511 MB / 1.11 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006969/0.9419, allocations: 0.9202 MB / 1.111 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.9421, allocations: 50.84 kB / 1.111 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of SimCode: time 6.52e-07/0.9421, allocations: 0 / 1.111 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of Templates: time 0.01909/0.9612, allocations: 8.621 MB / 1.12 GB, free: 1.836 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches