Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001039/0.001039, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.000937/0.000937, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.223/1.223, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.471/2.471, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 68.12 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7709/0.7722, allocations: 157.4 MB / 1.208 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1857/0.958, allocations: 192.6 MB / 1.397 GB, free: 12.43 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.00613/0.9642, allocations: 4.018 MB / 1.4 GB, free: 8.398 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.9653, allocations: 19.88 kB / 1.4 GB, free: 8.379 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.967, allocations: 473 kB / 1.401 GB, free: 7.914 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005258/0.9723, allocations: 1.532 MB / 1.402 GB, free: 6.375 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004575/0.9769, allocations: 1.355 MB / 1.404 GB, free: 5.02 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002716/0.9796, allocations: 1.631 MB / 1.405 GB, free: 3.383 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.9812, allocations: 0.9529 MB / 1.406 GB, free: 2.418 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/0.9833, allocations: 0.9228 MB / 1.407 GB, free: 1.492 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.9849, allocations: 0.8566 MB / 1.408 GB, free: 0.6328 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004306/0.9854, allocations: 96 kB / 1.408 GB, free: 0.5391 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.9885, allocations: 1.309 MB / 1.409 GB, free: 15.23 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0008629/0.9893, allocations: 351 kB / 1.41 GB, free: 14.88 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.9909, allocations: 0.521 MB / 1.41 GB, free: 14.36 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00356/0.9945, allocations: 1.624 MB / 1.412 GB, free: 12.73 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.9945, allocations: 0 / 1.412 GB, free: 12.73 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9945, allocations: 3.938 kB / 1.412 GB, free: 12.73 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.135e-05/0.9946, allocations: 0 / 1.412 GB, free: 12.73 MB / 1.139 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.004321/0.9989, allocations: 1.452 MB / 1.413 GB, free: 11.22 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.9989, allocations: 8.031 kB / 1.413 GB, free: 11.21 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/1.001, allocations: 234.8 kB / 1.413 GB, free: 10.98 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008477/1.001, allocations: 0.6148 MB / 1.414 GB, free: 10.32 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/1.001, allocations: 37 kB / 1.414 GB, free: 10.29 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/1.002, allocations: 51.98 kB / 1.414 GB, free: 10.24 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/1.003, allocations: 0.9648 MB / 1.415 GB, free: 9.203 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/1.003, allocations: 3.938 kB / 1.415 GB, free: 9.199 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.637e-05/1.003, allocations: 24 kB / 1.415 GB, free: 9.176 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/1.003, allocations: 31.98 kB / 1.415 GB, free: 9.145 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/1.004, allocations: 0.9406 MB / 1.416 GB, free: 8.203 MB / 1.139 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.004492/1.009, allocations: 4.254 MB / 1.42 GB, free: 3.777 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008621/1.01, allocations: 0.6017 MB / 1.421 GB, free: 3.164 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006837/1.01, allocations: 0.5161 MB / 1.421 GB, free: 2.648 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008913/1.011, allocations: 0.8744 MB / 1.422 GB, free: 1.59 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/1.011, allocations: 39 kB / 1.422 GB, free: 1.543 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0013/1.013, allocations: 419.1 kB / 1.423 GB, free: 1.133 MB / 1.139 GB Notification: Performance of pre-optimization done (n=50): time 1.964e-06/1.013, allocations: 0 / 1.423 GB, free: 1.133 MB / 1.139 GB Notification: Performance of matching and sorting (n=50): time 0.017/1.03, allocations: 3.833 MB / 1.426 GB, free: 13.25 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/1.03, allocations: 59.78 kB / 1.426 GB, free: 13.18 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007146/1.031, allocations: 0.7116 MB / 1.427 GB, free: 12.46 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.737e-05/1.031, allocations: 37.7 kB / 1.427 GB, free: 12.41 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/1.031, allocations: 320.6 kB / 1.427 GB, free: 12.1 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/1.031, allocations: 173.5 kB / 1.428 GB, free: 11.93 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/1.031, allocations: 150 kB / 1.428 GB, free: 11.77 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 9.187e-05/1.031, allocations: 330 kB / 1.428 GB, free: 11.45 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006003/1.032, allocations: 400.9 kB / 1.428 GB, free: 11.05 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00066/1.033, allocations: 489.5 kB / 1.429 GB, free: 10.55 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/1.034, allocations: 0.918 MB / 1.43 GB, free: 9.605 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.034, allocations: 3.938 kB / 1.43 GB, free: 9.602 MB / 1.154 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01102/1.045, allocations: 2.556 MB / 1.432 GB, free: 7.027 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/1.045, allocations: 16.02 kB / 1.432 GB, free: 7.012 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.045, allocations: 0 / 1.432 GB, free: 7.012 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009278/1.054, allocations: 1.73 MB / 1.434 GB, free: 5.273 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/1.055, allocations: 99.8 kB / 1.434 GB, free: 5.176 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/1.066, allocations: 7.145 MB / 1.441 GB, free: 13.74 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006894/1.067, allocations: 20.05 kB / 1.441 GB, free: 13.72 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.314e-05/1.067, allocations: 47.92 kB / 1.441 GB, free: 13.68 MB / 1.17 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.0003474/1.067, allocations: 201.8 kB / 1.441 GB, free: 13.47 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/1.068, allocations: 86.97 kB / 1.441 GB, free: 13.38 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004698/1.072, allocations: 1.738 MB / 1.443 GB, free: 11.63 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.072, allocations: 4 kB / 1.443 GB, free: 11.62 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.072, allocations: 4 kB / 1.443 GB, free: 11.62 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/1.072, allocations: 3.984 kB / 1.443 GB, free: 11.62 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005279/1.078, allocations: 2.552 MB / 1.446 GB, free: 8.984 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.078, allocations: 0 / 1.446 GB, free: 8.984 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/1.078, allocations: 87.89 kB / 1.446 GB, free: 8.898 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003231/1.081, allocations: 0.7981 MB / 1.446 GB, free: 8.094 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.693e-05/1.081, allocations: 20 kB / 1.446 GB, free: 8.074 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006108/1.087, allocations: 4.844 MB / 1.451 GB, free: 2.949 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.087, allocations: 7.938 kB / 1.451 GB, free: 2.941 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004811/1.092, allocations: 2.143 MB / 1.453 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002872/1.093, allocations: 235.9 kB / 1.454 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/1.093, allocations: 12 kB / 1.454 GB, free: 0.4922 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005441/1.093, allocations: 32.05 kB / 1.454 GB, free: 472 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/1.093, allocations: 48.44 kB / 1.454 GB, free: 424 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.416e-05/1.093, allocations: 23.98 kB / 1.454 GB, free: 400 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005373/1.094, allocations: 0.499 MB / 1.454 GB, free: 15.89 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.41e-07/1.094, allocations: 0 / 1.454 GB, free: 15.89 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008148/1.095, allocations: 291.8 kB / 1.454 GB, free: 15.61 MB / 1.186 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.0004644/1.095, allocations: 227.5 kB / 1.455 GB, free: 15.38 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003151/1.098, allocations: 1.465 MB / 1.456 GB, free: 13.89 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.098, allocations: 0 / 1.456 GB, free: 13.89 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/1.1, allocations: 0.9109 MB / 1.457 GB, free: 12.95 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/1.102, allocations: 450.2 kB / 1.457 GB, free: 12.52 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/1.104, allocations: 1.755 MB / 1.459 GB, free: 10.71 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/1.105, allocations: 0.9789 MB / 1.46 GB, free: 9.707 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/1.105, allocations: 71.42 kB / 1.46 GB, free: 9.637 MB / 1.186 GB Notification: Performance of SimCode: time 3.41e-07/1.105, allocations: 0 / 1.46 GB, free: 9.637 MB / 1.186 GB Notification: Performance of Templates: time 0.01994/1.125, allocations: 19.37 MB / 1.479 GB, free: 6.379 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches