Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.009302/0.009302, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.00214/0.002141, allocations: 190.1 kB / 16.67 MB, free: 5.871 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.372/2.372, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7488/0.7501, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1968/0.9469, allocations: 192.6 MB / 1.355 GB, free: 2.473 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007361/0.9543, allocations: 4.012 MB / 1.359 GB, free: 14.45 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009734/0.9554, allocations: 19.88 kB / 1.359 GB, free: 14.43 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.9567, allocations: 489 kB / 1.359 GB, free: 13.95 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003612/0.9603, allocations: 1.596 MB / 1.361 GB, free: 12.35 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.9636, allocations: 1.379 MB / 1.362 GB, free: 10.97 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002215/0.9659, allocations: 1.643 MB / 1.364 GB, free: 9.32 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.9671, allocations: 0.9509 MB / 1.365 GB, free: 8.355 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.9688, allocations: 0.9462 MB / 1.365 GB, free: 7.406 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.9699, allocations: 0.841 MB / 1.366 GB, free: 6.562 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.9701, allocations: 96 kB / 1.366 GB, free: 6.469 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002501/0.9726, allocations: 1.313 MB / 1.368 GB, free: 5.152 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003506/0.9729, allocations: 363 kB / 1.368 GB, free: 4.797 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006043/0.9735, allocations: 0.5094 MB / 1.369 GB, free: 4.285 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002418/0.976, allocations: 1.644 MB / 1.37 GB, free: 2.641 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.976, allocations: 0 / 1.37 GB, free: 2.641 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.365e-06/0.976, allocations: 0 / 1.37 GB, free: 2.641 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.976, allocations: 4 kB / 1.37 GB, free: 2.637 MB / 1.092 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.003045/0.9791, allocations: 1.471 MB / 1.372 GB, free: 1.113 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.9791, allocations: 8.031 kB / 1.372 GB, free: 1.105 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.9807, allocations: 247.2 kB / 1.372 GB, free: 0.8633 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009758/0.9816, allocations: 0.6116 MB / 1.372 GB, free: 216 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.9817, allocations: 44.97 kB / 1.372 GB, free: 168 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.9818, allocations: 52 kB / 1.372 GB, free: 116 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.9833, allocations: 0.9615 MB / 1.373 GB, free: 15.08 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.9833, allocations: 3.953 kB / 1.373 GB, free: 15.07 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-05/0.9834, allocations: 20 kB / 1.373 GB, free: 15.05 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/0.9835, allocations: 35.92 kB / 1.373 GB, free: 15.02 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.985, allocations: 0.9406 MB / 1.374 GB, free: 14.08 MB / 1.107 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.005806/0.9908, allocations: 4.262 MB / 1.379 GB, free: 9.648 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009703/0.9918, allocations: 0.5939 MB / 1.379 GB, free: 9.047 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007729/0.9926, allocations: 0.5175 MB / 1.38 GB, free: 8.523 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.9937, allocations: 0.8822 MB / 1.381 GB, free: 7.457 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.9937, allocations: 46.88 kB / 1.381 GB, free: 7.402 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001481/0.9952, allocations: 411.5 kB / 1.381 GB, free: 7 MB / 1.107 GB Notification: Performance of pre-optimization done (n=50): time 2.835e-06/0.9952, allocations: 0 / 1.381 GB, free: 7 MB / 1.107 GB Notification: Performance of matching and sorting (n=50): time 0.01765/1.013, allocations: 3.842 MB / 1.385 GB, free: 3.109 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/1.013, allocations: 59.78 kB / 1.385 GB, free: 3.039 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/1.014, allocations: 0.7039 MB / 1.385 GB, free: 2.328 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001719/1.014, allocations: 37.7 kB / 1.385 GB, free: 2.285 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/1.014, allocations: 324.9 kB / 1.386 GB, free: 1.965 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/1.015, allocations: 182.4 kB / 1.386 GB, free: 1.785 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/1.015, allocations: 154.1 kB / 1.386 GB, free: 1.629 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.015, allocations: 333.9 kB / 1.386 GB, free: 1.297 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00066/1.016, allocations: 396.9 kB / 1.387 GB, free: 0.9062 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007294/1.017, allocations: 481.5 kB / 1.387 GB, free: 420 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/1.018, allocations: 0.9259 MB / 1.388 GB, free: 15.45 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/1.018, allocations: 3.938 kB / 1.388 GB, free: 15.45 MB / 1.123 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01142/1.029, allocations: 2.557 MB / 1.391 GB, free: 12.88 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/1.03, allocations: 8 kB / 1.391 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.03, allocations: 0 / 1.391 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009585/1.039, allocations: 1.741 MB / 1.392 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/1.04, allocations: 91.81 kB / 1.392 GB, free: 11.03 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/1.052, allocations: 7.141 MB / 1.399 GB, free: 3.594 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009194/1.053, allocations: 24.05 kB / 1.399 GB, free: 3.57 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/1.054, allocations: 47.92 kB / 1.4 GB, free: 3.523 MB / 1.123 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.0003984/1.054, allocations: 202.9 kB / 1.4 GB, free: 3.316 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/1.054, allocations: 91.62 kB / 1.4 GB, free: 3.227 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004774/1.059, allocations: 1.746 MB / 1.401 GB, free: 1.465 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/1.059, allocations: 4 kB / 1.401 GB, free: 1.461 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.059, allocations: 8 kB / 1.402 GB, free: 1.453 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/1.059, allocations: 3.984 kB / 1.402 GB, free: 1.449 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005876/1.065, allocations: 2.536 MB / 1.404 GB, free: 14.83 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/1.065, allocations: 8.031 kB / 1.404 GB, free: 14.82 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004587/1.065, allocations: 91.83 kB / 1.404 GB, free: 14.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003177/1.069, allocations: 0.7938 MB / 1.405 GB, free: 13.93 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.14e-05/1.069, allocations: 19.98 kB / 1.405 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00675/1.075, allocations: 4.85 MB / 1.41 GB, free: 8.781 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.075, allocations: 4 kB / 1.41 GB, free: 8.777 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005198/1.081, allocations: 2.155 MB / 1.412 GB, free: 6.582 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006268/1.081, allocations: 240.5 kB / 1.412 GB, free: 6.328 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/1.081, allocations: 16 kB / 1.412 GB, free: 6.312 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/1.082, allocations: 27.92 kB / 1.412 GB, free: 6.285 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/1.082, allocations: 52.44 kB / 1.412 GB, free: 6.234 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.342e-05/1.082, allocations: 27.92 kB / 1.412 GB, free: 6.207 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006387/1.083, allocations: 0.499 MB / 1.413 GB, free: 5.715 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.61e-07/1.083, allocations: 0 / 1.413 GB, free: 5.715 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009861/1.084, allocations: 283.8 kB / 1.413 GB, free: 5.438 MB / 1.139 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.0005102/1.084, allocations: 220 kB / 1.413 GB, free: 5.219 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003567/1.088, allocations: 1.453 MB / 1.414 GB, free: 3.738 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.088, allocations: 0 / 1.414 GB, free: 3.738 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001838/1.09, allocations: 0.9263 MB / 1.415 GB, free: 2.789 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/1.092, allocations: 453.6 kB / 1.416 GB, free: 2.344 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/1.095, allocations: 1.737 MB / 1.417 GB, free: 0.5664 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/1.096, allocations: 0.9789 MB / 1.418 GB, free: 15.56 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0005507/1.096, allocations: 166.6 kB / 1.419 GB, free: 15.39 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/1.096, allocations: 71.41 kB / 1.419 GB, free: 15.32 MB / 1.154 GB Notification: Performance of SimCode: time 6.61e-07/1.096, allocations: 0 / 1.419 GB, free: 15.32 MB / 1.154 GB Notification: Performance of Templates: time 0.03586/1.132, allocations: 22.77 MB / 1.441 GB, free: 8.805 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches