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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_10_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.0008671/0.0008671, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004875/0.004875, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.221/1.221, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.306/2.306, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002916, allocations: 8 kB / 0.8729 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5156/0.516, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1762/0.6922, allocations: 187.9 MB / 1.207 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005451/0.6977, allocations: 4.003 MB / 1.211 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006961/0.6985, allocations: 15.88 kB / 1.211 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.6995, allocations: 397.8 kB / 1.211 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003268/0.7028, allocations: 1.451 MB / 1.212 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002807/0.7056, allocations: 1.243 MB / 1.214 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002437/0.7081, allocations: 2.341 MB / 1.216 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.7092, allocations: 0.8826 MB / 1.217 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.7107, allocations: 0.8564 MB / 1.218 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.7119, allocations: 0.8526 MB / 1.218 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.7121, allocations: 72 kB / 1.218 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.7145, allocations: 1.578 MB / 1.22 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004019/0.7149, allocations: 327 kB / 1.22 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006234/0.7156, allocations: 0.5033 MB / 1.221 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.7177, allocations: 1.694 MB / 1.222 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.7177, allocations: 0 / 1.222 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7177, allocations: 0 / 1.222 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.52e-05/0.7177, allocations: 0 / 1.222 GB, free: 3.02 MB / 0.9669 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.002383/0.7201, allocations: 1.18 MB / 1.224 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.7202, allocations: 16.03 kB / 1.224 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.7203, allocations: 90.52 kB / 1.224 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.7217, allocations: 238.7 kB / 1.224 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007435/0.7225, allocations: 0.5837 MB / 1.224 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.7225, allocations: 37 kB / 1.225 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.7226, allocations: 55.94 kB / 1.225 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.724, allocations: 0.9687 MB / 1.226 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.724, allocations: 7.938 kB / 1.226 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.468e-05/0.7241, allocations: 20 kB / 1.226 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.881e-05/0.7241, allocations: 24 kB / 1.226 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.7256, allocations: 0.9601 MB / 1.227 GB, free: 14.67 MB / 0.9825 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.004587/0.7302, allocations: 4.168 MB / 1.231 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008989/0.7311, allocations: 0.611 MB / 1.231 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007312/0.7318, allocations: 0.5253 MB / 1.232 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009661/0.7328, allocations: 0.89 MB / 1.233 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.7329, allocations: 39 kB / 1.233 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001332/0.7342, allocations: 359.2 kB / 1.233 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 1.774e-06/0.7342, allocations: 0 / 1.233 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.01652/0.7507, allocations: 3.697 MB / 1.237 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.7508, allocations: 59.78 kB / 1.237 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007776/0.7516, allocations: 0.7155 MB / 1.237 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.618e-05/0.7516, allocations: 29.7 kB / 1.237 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.7519, allocations: 320.6 kB / 1.238 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.752, allocations: 177.5 kB / 1.238 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.181e-05/0.7521, allocations: 41.7 kB / 1.238 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.7522, allocations: 330 kB / 1.238 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006358/0.7529, allocations: 400.9 kB / 1.239 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006812/0.7536, allocations: 493.5 kB / 1.239 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.755, allocations: 0.9297 MB / 1.24 GB, free: 416 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.755, allocations: 0 / 1.24 GB, free: 416 kB / 0.9825 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0109/0.7659, allocations: 2.486 MB / 1.242 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.7659, allocations: 8.125 kB / 1.242 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.7659, allocations: 4 kB / 1.242 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00899/0.7749, allocations: 1.546 MB / 1.244 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.7753, allocations: 91.88 kB / 1.244 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/0.7865, allocations: 6.567 MB / 1.25 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006567/0.7872, allocations: 35.89 kB / 1.25 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-05/0.7873, allocations: 47.88 kB / 1.25 GB, free: 5.316 MB / 0.9981 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.0003071/0.7876, allocations: 220.5 kB / 1.251 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.7878, allocations: 79.06 kB / 1.251 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005003/0.7928, allocations: 1.687 MB / 1.252 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.7928, allocations: 4 kB / 1.252 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.7928, allocations: 4 kB / 1.252 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.7928, allocations: 0 / 1.252 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005556/0.7984, allocations: 2.489 MB / 1.255 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.7984, allocations: 4 kB / 1.255 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/0.7988, allocations: 87.89 kB / 1.255 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4133/1.212, allocations: 0.6633 MB / 1.256 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/1.212, allocations: 11.97 kB / 1.256 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00615/1.218, allocations: 4.416 MB / 1.26 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/1.218, allocations: 2.375 kB / 1.26 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005416/1.224, allocations: 2.093 MB / 1.262 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/1.224, allocations: 242 kB / 1.262 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/1.225, allocations: 13.58 kB / 1.262 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006858/1.225, allocations: 36.09 kB / 1.262 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/1.225, allocations: 49.44 kB / 1.262 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-05/1.225, allocations: 19.69 kB / 1.262 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007179/1.226, allocations: 0.4989 MB / 1.263 GB, free: 227 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.226, allocations: 0.5938 kB / 1.263 GB, free: 227 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001043/1.227, allocations: 291.1 kB / 1.263 GB, free: 227 MB / 0.9981 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.00577/1.233, allocations: 2.757 MB / 1.266 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00328/1.236, allocations: 1.42 MB / 1.267 GB, free: 225 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.236, allocations: 1.641 kB / 1.267 GB, free: 225 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/1.238, allocations: 0.9006 MB / 1.268 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/1.24, allocations: 431.2 kB / 1.268 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02931/1.27, allocations: 10.83 MB / 1.279 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/1.27, allocations: 0.9856 MB / 1.28 GB, free: 219 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007124/1.271, allocations: 158.7 kB / 1.28 GB, free: 219 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/1.271, allocations: 277.9 kB / 1.28 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/1.271, allocations: 5.25 kB / 1.28 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03793/1.309, allocations: 27.92 MB / 1.308 GB, free: 197.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001254/1.309, allocations: 260.6 kB / 1.308 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.23/3.539, allocations: 0 / 1.308 GB, free: 197.6 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches