Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 198 kB / 16.54 MB, free: 6.672 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.3 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.88 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6083/0.6096, allocations: 140.4 MB / 0.9497 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.252/0.8616, allocations: 241.9 MB / 1.186 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0197/0.8814, allocations: 13.54 MB / 1.199 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002302/0.8837, allocations: 59.62 kB / 1.199 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003123/0.8869, allocations: 0.9821 MB / 1.2 GB, free: 480 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005427/0.8924, allocations: 1.776 MB / 1.202 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003466/0.8959, allocations: 1.228 MB / 1.203 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004868/0.9008, allocations: 3.262 MB / 1.206 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/0.9029, allocations: 1.047 MB / 1.207 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01067/0.9136, allocations: 4.113 MB / 1.211 GB, free: 5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.9153, allocations: 0.8904 MB / 1.212 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004702/0.9158, allocations: 80 kB / 1.212 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.9179, allocations: 0.7053 MB / 1.213 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006944/0.9187, allocations: 434.6 kB / 1.213 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001547/0.9202, allocations: 0.68 MB / 1.214 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.9229, allocations: 1.491 MB / 1.216 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.9229, allocations: 3.938 kB / 1.216 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9229, allocations: 7.938 kB / 1.216 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.17e-05/0.923, allocations: 0 / 1.216 GB, free: 0.7031 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002307/0.9253, allocations: 1.619 MB / 1.217 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.9253, allocations: 8.031 kB / 1.217 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001358/0.9255, allocations: 126.7 kB / 1.217 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006287/0.9261, allocations: 198.2 kB / 1.217 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.9273, allocations: 0.8425 MB / 1.218 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.9274, allocations: 121.4 kB / 1.218 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.99e-05/0.9275, allocations: 88 kB / 1.218 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.9288, allocations: 0.9142 MB / 1.219 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.9288, allocations: 3.938 kB / 1.219 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/0.9289, allocations: 36 kB / 1.219 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.9289, allocations: 23.98 kB / 1.219 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008433/0.9298, allocations: 0.5149 MB / 1.22 GB, free: 12 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004177/0.934, allocations: 4.88 MB / 1.225 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006012/0.9346, allocations: 416.7 kB / 1.225 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003483/0.9349, allocations: 259.8 kB / 1.225 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/0.9351, allocations: 101.1 kB / 1.225 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.9352, allocations: 54.44 kB / 1.225 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/0.9352, allocations: 0 / 1.225 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31): time 0.001888/0.9371, allocations: 0.7935 MB / 1.226 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002126/0.9373, allocations: 405.9 kB / 1.227 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.9388, allocations: 1.267 MB / 1.228 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.9388, allocations: 37.7 kB / 1.228 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004588/0.9393, allocations: 0.5534 MB / 1.228 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.002e-05/0.9394, allocations: 114.4 kB / 1.229 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.9395, allocations: 81.59 kB / 1.229 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.9396, allocations: 321.9 kB / 1.229 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.9398, allocations: 95.94 kB / 1.229 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.9402, allocations: 334.2 kB / 1.229 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/0.9407, allocations: 324.5 kB / 1.23 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.9407, allocations: 4 kB / 1.23 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008008/0.9415, allocations: 497.3 kB / 1.23 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.9415, allocations: 8 kB / 1.23 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.9416, allocations: 7.938 kB / 1.23 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002735/0.9418, allocations: 78 kB / 1.23 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.9421, allocations: 55.91 kB / 1.23 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/0.9445, allocations: 3.258 MB / 1.233 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/0.9452, allocations: 95.23 kB / 1.234 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.9452, allocations: 16 kB / 1.234 GB, free: 12.88 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003424/0.9456, allocations: 277.6 kB / 1.234 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003682/0.946, allocations: 138.3 kB / 1.234 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.9461, allocations: 127.9 kB / 1.234 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.9461, allocations: 12 kB / 1.234 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.9461, allocations: 4 kB / 1.234 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.9461, allocations: 7.984 kB / 1.234 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002936/0.9491, allocations: 2.516 MB / 1.237 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.9491, allocations: 4 kB / 1.237 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.9493, allocations: 51.91 kB / 1.237 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001805/0.9495, allocations: 73.61 kB / 1.237 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.9495, allocations: 24.09 kB / 1.237 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/0.9517, allocations: 3.25 MB / 1.24 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.9517, allocations: 7.938 kB / 1.24 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008675/0.9526, allocations: 0.6728 MB / 1.241 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/0.953, allocations: 247.4 kB / 1.241 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.9532, allocations: 16.17 kB / 1.241 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007173/0.9539, allocations: 43.95 kB / 1.241 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.954, allocations: 35.78 kB / 1.241 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.954, allocations: 27.98 kB / 1.241 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001247/0.9553, allocations: 0.8763 MB / 1.242 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9553, allocations: 0 / 1.242 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001004/0.9563, allocations: 255.7 kB / 1.242 GB, free: 3.684 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001434/0.9577, allocations: 1.328 MB / 1.243 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009356/0.9587, allocations: 0.5282 MB / 1.244 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.9587, allocations: 0 / 1.244 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005422/0.9593, allocations: 407 kB / 1.244 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003552/0.9628, allocations: 0.7453 MB / 1.245 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4491/1.412, allocations: 9.003 MB / 1.254 GB, free: 283.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000976/1.413, allocations: 1.141 MB / 1.255 GB, free: 282.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001291/1.414, allocations: 237.3 kB / 1.255 GB, free: 282.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/1.415, allocations: 439.7 kB / 1.255 GB, free: 282.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.273e-06/1.415, allocations: 0 / 1.255 GB, free: 282.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06391/1.479, allocations: 33.98 MB / 1.289 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.89, allocations: 6.672 kB / 1.289 GB, free: 263.2 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches