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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_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.00758/0.00758, allocations: 99.69 kB / 15.73 MB, free: 6.039 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.001723/0.001724, allocations: 187 kB / 16.67 MB, free: 5.969 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.484/2.484, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 64.12 kB / 1.054 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2608, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.7489/1.01, allocations: 192.6 MB / 1.395 GB, free: 13.57 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006241/1.016, allocations: 4.001 MB / 1.399 GB, free: 10.3 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/1.017, allocations: 22.53 kB / 1.399 GB, free: 10.3 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001391/1.018, allocations: 482.1 kB / 1.4 GB, free: 9.902 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00381/1.022, allocations: 1.53 MB / 1.401 GB, free: 8.727 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003483/1.026, allocations: 1.357 MB / 1.403 GB, free: 7.734 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002409/1.028, allocations: 1.639 MB / 1.404 GB, free: 6.809 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/1.03, allocations: 0.9513 MB / 1.405 GB, free: 6.16 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/1.031, allocations: 0.9292 MB / 1.406 GB, free: 5.652 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/1.033, allocations: 0.8488 MB / 1.407 GB, free: 5.125 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003567/1.033, allocations: 96.78 kB / 1.407 GB, free: 5.125 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/1.036, allocations: 1.309 MB / 1.408 GB, free: 4.418 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005111/1.037, allocations: 355.6 kB / 1.409 GB, free: 4.16 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000946/1.038, allocations: 0.5167 MB / 1.409 GB, free: 3.812 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002896/1.041, allocations: 1.631 MB / 1.411 GB, free: 2.75 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.041, allocations: 1.406 kB / 1.411 GB, free: 2.75 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.713e-06/1.041, allocations: 0 / 1.411 GB, free: 2.75 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.456e-05/1.041, allocations: 0 / 1.411 GB, free: 2.75 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.00354/1.044, allocations: 1.447 MB / 1.412 GB, free: 1.727 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.044, allocations: 8.25 kB / 1.412 GB, free: 1.727 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/1.044, allocations: 88.14 kB / 1.412 GB, free: 1.648 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/1.046, allocations: 238 kB / 1.412 GB, free: 1.535 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/1.047, allocations: 0.6166 MB / 1.413 GB, free: 1.02 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/1.047, allocations: 41.08 kB / 1.413 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/1.047, allocations: 52.75 kB / 1.413 GB, free: 0.9766 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/1.049, allocations: 0.9563 MB / 1.414 GB, free: 292 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/1.049, allocations: 3.438 kB / 1.414 GB, free: 292 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.147e-05/1.049, allocations: 20.84 kB / 1.414 GB, free: 276 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/1.049, allocations: 38.52 kB / 1.414 GB, free: 260 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/1.05, allocations: 0.9385 MB / 1.415 GB, free: 15.78 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.005143/1.055, allocations: 4.257 MB / 1.419 GB, free: 12.19 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008819/1.056, allocations: 0.5938 MB / 1.42 GB, free: 11.86 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006779/1.057, allocations: 0.5186 MB / 1.42 GB, free: 11.56 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009169/1.058, allocations: 0.8803 MB / 1.421 GB, free: 10.57 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/1.058, allocations: 41.72 kB / 1.421 GB, free: 10.53 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001411/1.059, allocations: 416.5 kB / 1.422 GB, free: 10.36 MB / 1.107 GB Notification: Performance of pre-optimization done (n=50): time 4.909e-06/1.059, allocations: 4 kB / 1.422 GB, free: 10.35 MB / 1.107 GB Notification: Performance of matching and sorting (n=50): time 0.01696/1.076, allocations: 3.834 MB / 1.425 GB, free: 7.352 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/1.076, allocations: 59.78 kB / 1.425 GB, free: 7.277 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009704/1.077, allocations: 0.7116 MB / 1.426 GB, free: 6.559 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001562/1.078, allocations: 37.7 kB / 1.426 GB, free: 6.516 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/1.078, allocations: 324.6 kB / 1.426 GB, free: 6.195 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/1.078, allocations: 173.5 kB / 1.427 GB, free: 6.023 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002984/1.078, allocations: 150 kB / 1.427 GB, free: 5.871 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.799e-05/1.078, allocations: 330 kB / 1.427 GB, free: 5.543 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006489/1.079, allocations: 392.9 kB / 1.427 GB, free: 5.16 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007401/1.08, allocations: 489.5 kB / 1.428 GB, free: 4.656 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/1.081, allocations: 0.923 MB / 1.429 GB, free: 3.707 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/1.081, allocations: 0 / 1.429 GB, free: 3.707 MB / 1.107 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01106/1.092, allocations: 2.556 MB / 1.431 GB, free: 1.137 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.092, allocations: 9.562 kB / 1.431 GB, free: 1.129 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/1.092, allocations: 0 / 1.431 GB, free: 1.129 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009238/1.102, allocations: 1.736 MB / 1.433 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/1.102, allocations: 99.73 kB / 1.433 GB, free: 15.29 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/1.114, allocations: 7.142 MB / 1.44 GB, free: 7.859 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009049/1.115, allocations: 16.06 kB / 1.44 GB, free: 7.844 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/1.115, allocations: 50.3 kB / 1.44 GB, free: 7.797 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.0004075/1.115, allocations: 205.7 kB / 1.44 GB, free: 7.586 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/1.116, allocations: 82.97 kB / 1.44 GB, free: 7.504 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004758/1.121, allocations: 1.742 MB / 1.442 GB, free: 5.746 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/1.121, allocations: 12 kB / 1.442 GB, free: 5.734 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.121, allocations: 0 / 1.442 GB, free: 5.734 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/1.121, allocations: 0 / 1.442 GB, free: 5.734 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005715/1.126, allocations: 2.548 MB / 1.445 GB, free: 3.105 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/1.126, allocations: 0 / 1.445 GB, free: 3.105 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/1.127, allocations: 87.89 kB / 1.445 GB, free: 3.02 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00319/1.13, allocations: 0.8055 MB / 1.445 GB, free: 2.207 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-05/1.13, allocations: 16 kB / 1.445 GB, free: 2.191 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006119/1.136, allocations: 4.858 MB / 1.45 GB, free: 13.05 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.136, allocations: 0 / 1.45 GB, free: 13.05 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004945/1.141, allocations: 2.147 MB / 1.452 GB, free: 10.86 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000529/1.142, allocations: 232 kB / 1.452 GB, free: 10.62 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/1.142, allocations: 12 kB / 1.453 GB, free: 10.61 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006452/1.143, allocations: 23.98 kB / 1.453 GB, free: 10.58 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/1.143, allocations: 64.48 kB / 1.453 GB, free: 10.52 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/1.143, allocations: 17.12 kB / 1.453 GB, free: 10.5 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005999/1.143, allocations: 0.4951 MB / 1.453 GB, free: 10.01 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/1.143, allocations: 0 / 1.453 GB, free: 10.01 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001007/1.144, allocations: 291.8 kB / 1.453 GB, free: 9.727 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.005369/1.15, allocations: 2.8 MB / 1.456 GB, free: 6.883 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003359/1.153, allocations: 1.488 MB / 1.458 GB, free: 5.367 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.153, allocations: 0 / 1.458 GB, free: 5.367 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001736/1.155, allocations: 0.907 MB / 1.458 GB, free: 4.43 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.157, allocations: 454.1 kB / 1.459 GB, free: 3.988 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03022/1.188, allocations: 10.44 MB / 1.469 GB, free: 9.371 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005832/1.188, allocations: 0.9789 MB / 1.47 GB, free: 8.367 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0006479/1.189, allocations: 162.6 kB / 1.47 GB, free: 8.203 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004351/1.189, allocations: 279.3 kB / 1.47 GB, free: 7.93 MB / 1.154 GB Notification: Performance of SimCode: time 6.51e-07/1.189, allocations: 3.938 kB / 1.47 GB, free: 7.926 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0728/1.262, allocations: 30.39 MB / 1.5 GB, free: 9.914 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/11.56, allocations: 4 kB / 1.5 GB, free: 9.91 MB / 1.186 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > 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