Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.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.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw",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.006103/0.006103, allocations: 100.8 kB / 15.73 MB, free: 5.988 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.001281/0.001281, allocations: 189.4 kB / 16.67 MB, free: 5.914 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.413/2.413, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 75.14 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3387, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 1.114/1.453, allocations: 192.6 MB / 1.276 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007812/1.461, allocations: 4.011 MB / 1.279 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/1.463, allocations: 23.72 kB / 1.279 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001855/1.465, allocations: 491.8 kB / 1.28 GB, free: 3.098 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006102/1.471, allocations: 1.595 MB / 1.282 GB, free: 3.035 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005319/1.476, allocations: 1.372 MB / 1.283 GB, free: 2.992 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004173/1.48, allocations: 1.644 MB / 1.284 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/1.482, allocations: 0.9565 MB / 1.285 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/1.485, allocations: 0.9426 MB / 1.286 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/1.487, allocations: 0.8496 MB / 1.287 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002651/1.487, allocations: 96.16 kB / 1.287 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004031/1.491, allocations: 1.315 MB / 1.289 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006261/1.492, allocations: 355.3 kB / 1.289 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001147/1.493, allocations: 0.5065 MB / 1.289 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005193/1.498, allocations: 1.638 MB / 1.291 GB, free: 2.77 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.498, allocations: 0.8438 kB / 1.291 GB, free: 2.77 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.113e-06/1.498, allocations: 0 / 1.291 GB, free: 2.77 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.121e-05/1.498, allocations: 1.375 kB / 1.291 GB, free: 2.77 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.004325/1.503, allocations: 1.479 MB / 1.292 GB, free: 2.039 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.272e-05/1.503, allocations: 10.5 kB / 1.292 GB, free: 2.039 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/1.503, allocations: 89.72 kB / 1.293 GB, free: 2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/1.505, allocations: 246.8 kB / 1.293 GB, free: 1.953 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/1.506, allocations: 0.6131 MB / 1.293 GB, free: 1.648 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/1.506, allocations: 35.31 kB / 1.293 GB, free: 1.648 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/1.506, allocations: 56.88 kB / 1.293 GB, free: 1.645 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/1.508, allocations: 0.9614 MB / 1.294 GB, free: 1.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/1.508, allocations: 5.312 kB / 1.294 GB, free: 1.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.211e-05/1.508, allocations: 24.75 kB / 1.294 GB, free: 1.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.416e-05/1.508, allocations: 26.88 kB / 1.294 GB, free: 1.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/1.51, allocations: 0.9413 MB / 1.295 GB, free: 1.43 MB / 1.014 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.007153/1.517, allocations: 4.272 MB / 1.3 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/1.519, allocations: 0.5988 MB / 1.3 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009226/1.52, allocations: 0.5137 MB / 1.301 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/1.521, allocations: 0.8788 MB / 1.301 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/1.521, allocations: 41.91 kB / 1.301 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001945/1.523, allocations: 418.8 kB / 1.302 GB, free: 14.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=50): time 4.909e-06/1.523, allocations: 0 / 1.302 GB, free: 14.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=50): time 0.01868/1.542, allocations: 3.84 MB / 1.306 GB, free: 13.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/1.542, allocations: 59.08 kB / 1.306 GB, free: 13.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/1.543, allocations: 0.715 MB / 1.306 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002247/1.543, allocations: 34.86 kB / 1.306 GB, free: 13.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/1.543, allocations: 327.3 kB / 1.307 GB, free: 13.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/1.544, allocations: 186.3 kB / 1.307 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/1.544, allocations: 152.4 kB / 1.307 GB, free: 13.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.544, allocations: 331.1 kB / 1.307 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006962/1.545, allocations: 393.7 kB / 1.308 GB, free: 12.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007599/1.546, allocations: 493.8 kB / 1.308 GB, free: 12.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/1.547, allocations: 0.9153 MB / 1.309 GB, free: 12.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/1.547, allocations: 1.844 kB / 1.309 GB, free: 12.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01157/1.559, allocations: 2.569 MB / 1.312 GB, free: 12.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/1.559, allocations: 8.188 kB / 1.312 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.559, allocations: 2.125 kB / 1.312 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009683/1.568, allocations: 1.728 MB / 1.313 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005548/1.569, allocations: 93.81 kB / 1.313 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/1.582, allocations: 7.14 MB / 1.32 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/1.584, allocations: 17.64 kB / 1.32 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/1.584, allocations: 48.41 kB / 1.32 GB, free: 9.66 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * 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 {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00054/1.584, allocations: 212.1 kB / 1.321 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/1.585, allocations: 82.8 kB / 1.321 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005401/1.59, allocations: 1.736 MB / 1.322 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/1.59, allocations: 8 kB / 1.322 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.59, allocations: 2.656 kB / 1.322 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/1.59, allocations: 2.953 kB / 1.322 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006459/1.597, allocations: 2.542 MB / 1.325 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.597, allocations: 11.03 kB / 1.325 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/1.597, allocations: 85.7 kB / 1.325 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003416/1.601, allocations: 0.8038 MB / 1.326 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.933e-05/1.601, allocations: 19.92 kB / 1.326 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007373/1.608, allocations: 4.851 MB / 1.331 GB, free: 6.113 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.608, allocations: 3.984 kB / 1.331 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005468/1.614, allocations: 2.158 MB / 1.333 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006929/1.614, allocations: 238.3 kB / 1.333 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/1.614, allocations: 14.95 kB / 1.333 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006142/1.615, allocations: 24.06 kB / 1.333 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/1.615, allocations: 45.38 kB / 1.333 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.787e-05/1.615, allocations: 26.36 kB / 1.333 GB, free: 5.656 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006386/1.616, allocations: 0.5014 MB / 1.333 GB, free: 5.562 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.616, allocations: 0 / 1.333 GB, free: 5.562 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001219/1.617, allocations: 291.8 kB / 1.334 GB, free: 5.539 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * 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 {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005751/1.623, allocations: 2.81 MB / 1.337 GB, free: 4.688 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003621/1.627, allocations: 1.466 MB / 1.338 GB, free: 4.055 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.627, allocations: 3.438 kB / 1.338 GB, free: 4.055 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001914/1.629, allocations: 0.9176 MB / 1.339 GB, free: 3.578 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/1.631, allocations: 457.4 kB / 1.339 GB, free: 3.434 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03136/1.662, allocations: 10.47 MB / 1.35 GB, free: 15.02 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006818/1.663, allocations: 0.9775 MB / 1.35 GB, free: 14.2 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0009719/1.664, allocations: 160.4 kB / 1.351 GB, free: 14.13 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/1.665, allocations: 285.3 kB / 1.351 GB, free: 13.9 MB / 1.045 GB Notification: Performance of SimCode: time 7.61e-07/1.665, allocations: 0 / 1.351 GB, free: 13.9 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07429/1.739, allocations: 29.68 MB / 1.38 GB, free: 10.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/13.34, allocations: 14.55 kB / 1.38 GB, free: 10.88 MB / 1.061 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches