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: translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007003/0.007002, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001627/0.001627, allocations: 196.6 kB / 16.68 MB, free: 6.352 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.339/2.339, allocations: 390.2 MB / 0.6648 GB, free: 128 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.84 kB / 0.9508 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3036, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.8206/1.124, allocations: 192.6 MB / 1.276 GB, free: 3.52 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007483/1.132, allocations: 4.01 MB / 1.28 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/1.133, allocations: 20.88 kB / 1.28 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/1.135, allocations: 488.5 kB / 1.28 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005093/1.14, allocations: 1.602 MB / 1.282 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004471/1.144, allocations: 1.363 MB / 1.283 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003166/1.147, allocations: 1.651 MB / 1.285 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/1.149, allocations: 0.9533 MB / 1.286 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/1.151, allocations: 0.9429 MB / 1.287 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/1.152, allocations: 0.849 MB / 1.288 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002092/1.152, allocations: 95 kB / 1.288 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003252/1.155, allocations: 1.312 MB / 1.289 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004555/1.156, allocations: 354.1 kB / 1.289 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006878/1.157, allocations: 0.5095 MB / 1.29 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003522/1.16, allocations: 1.644 MB / 1.291 GB, free: 3.148 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.16, allocations: 0.9375 kB / 1.291 GB, free: 3.148 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.784e-06/1.16, allocations: 0 / 1.291 GB, free: 3.148 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.803e-05/1.16, allocations: 0 / 1.291 GB, free: 3.148 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.003625/1.164, allocations: 1.476 MB / 1.293 GB, free: 2.422 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/1.164, allocations: 8.219 kB / 1.293 GB, free: 2.422 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/1.166, allocations: 244.4 kB / 1.293 GB, free: 2.375 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/1.167, allocations: 0.6176 MB / 1.294 GB, free: 2.066 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/1.167, allocations: 38.06 kB / 1.294 GB, free: 2.066 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/1.167, allocations: 48.88 kB / 1.294 GB, free: 2.066 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/1.169, allocations: 0.9677 MB / 1.295 GB, free: 1.848 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/1.169, allocations: 6.25 kB / 1.295 GB, free: 1.848 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.229e-05/1.169, allocations: 21.38 kB / 1.295 GB, free: 1.848 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.182e-05/1.169, allocations: 28.42 kB / 1.295 GB, free: 1.848 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/1.171, allocations: 0.9373 MB / 1.296 GB, free: 1.848 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.005984/1.177, allocations: 4.28 MB / 1.3 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/1.178, allocations: 0.6018 MB / 1.3 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008364/1.178, allocations: 0.5137 MB / 1.301 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/1.18, allocations: 0.8762 MB / 1.302 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/1.18, allocations: 42.17 kB / 1.302 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001605/1.181, allocations: 414.5 kB / 1.302 GB, free: 14.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=50): time 3.176e-06/1.181, allocations: 0 / 1.302 GB, free: 14.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=50): time 0.01841/1.2, allocations: 3.838 MB / 1.306 GB, free: 14.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/1.2, allocations: 61.05 kB / 1.306 GB, free: 14.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/1.201, allocations: 0.7079 MB / 1.307 GB, free: 14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001677/1.201, allocations: 37.69 kB / 1.307 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/1.201, allocations: 321.7 kB / 1.307 GB, free: 13.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/1.201, allocations: 188.9 kB / 1.307 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/1.202, allocations: 149.5 kB / 1.307 GB, free: 13.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.202, allocations: 334.5 kB / 1.308 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000711/1.203, allocations: 397.1 kB / 1.308 GB, free: 13.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007834/1.203, allocations: 486.9 kB / 1.309 GB, free: 13.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/1.205, allocations: 0.9204 MB / 1.309 GB, free: 13.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/1.205, allocations: 0 / 1.309 GB, free: 13.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01193/1.217, allocations: 2.568 MB / 1.312 GB, free: 13.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/1.217, allocations: 5.656 kB / 1.312 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/1.217, allocations: 3.266 kB / 1.312 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009682/1.227, allocations: 1.729 MB / 1.314 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005677/1.227, allocations: 94.05 kB / 1.314 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/1.24, allocations: 7.148 MB / 1.321 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/1.241, allocations: 20.83 kB / 1.321 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.241, allocations: 48.72 kB / 1.321 GB, free: 10.08 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.0004568/1.242, allocations: 207.7 kB / 1.321 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/1.242, allocations: 82.08 kB / 1.321 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005292/1.247, allocations: 1.738 MB / 1.323 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/1.247, allocations: 14.91 kB / 1.323 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/1.248, allocations: 2.656 kB / 1.323 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/1.248, allocations: 3.094 kB / 1.323 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00615/1.254, allocations: 2.537 MB / 1.325 GB, free: 9.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.254, allocations: 2.469 kB / 1.325 GB, free: 9.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/1.254, allocations: 93.22 kB / 1.325 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003252/1.257, allocations: 0.7934 MB / 1.326 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.82e-05/1.258, allocations: 17.56 kB / 1.326 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007047/1.265, allocations: 4.865 MB / 1.331 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.265, allocations: 3.188 kB / 1.331 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005456/1.27, allocations: 2.157 MB / 1.333 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007901/1.271, allocations: 240.7 kB / 1.333 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/1.271, allocations: 11.25 kB / 1.333 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006557/1.272, allocations: 24.47 kB / 1.333 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/1.272, allocations: 52 kB / 1.333 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-05/1.272, allocations: 21.8 kB / 1.333 GB, free: 6.086 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006553/1.273, allocations: 0.4989 MB / 1.334 GB, free: 5.992 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.262e-06/1.273, allocations: 2.25 kB / 1.334 GB, free: 5.992 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001372/1.274, allocations: 283.4 kB / 1.334 GB, free: 5.98 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.0006565/1.275, allocations: 224.1 kB / 1.334 GB, free: 5.855 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003792/1.279, allocations: 1.465 MB / 1.336 GB, free: 5.551 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.279, allocations: 0 / 1.336 GB, free: 5.551 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001893/1.28, allocations: 0.9212 MB / 1.337 GB, free: 5.211 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/1.283, allocations: 456.4 kB / 1.337 GB, free: 5.066 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/1.286, allocations: 1.741 MB / 1.339 GB, free: 4.086 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006963/1.287, allocations: 0.9847 MB / 1.34 GB, free: 3.363 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000725/1.288, allocations: 155.1 kB / 1.34 GB, free: 3.328 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/1.288, allocations: 68.08 kB / 1.34 GB, free: 3.316 MB / 1.029 GB Notification: Performance of SimCode: time 8.42e-07/1.288, allocations: 6.688 kB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of Templates: time 0.03942/1.327, allocations: 22.77 MB / 1.362 GB, free: 9.984 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (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 & ./Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches