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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008552/0.0008552, 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.005043/0.005043, 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.17/1.17, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.251/2.251, allocations: 443.3 MB / 0.7176 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003105, allocations: 12.11 kB / 0.8797 GB, free: 41.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2134, allocations: 155.2 MB / 1.031 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1556/0.369, allocations: 187.9 MB / 1.215 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004851/0.3739, allocations: 4.014 MB / 1.219 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.3742, allocations: 19.88 kB / 1.219 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008575/0.3751, allocations: 397.9 kB / 1.219 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.3774, allocations: 1.443 MB / 1.22 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.3796, allocations: 1.24 MB / 1.222 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001861/0.3815, allocations: 2.349 MB / 1.224 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008909/0.3824, allocations: 0.8827 MB / 1.225 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009114/0.3833, allocations: 0.8524 MB / 1.226 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008289/0.3842, allocations: 0.8565 MB / 1.226 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.3843, allocations: 72 kB / 1.227 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.3862, allocations: 1.57 MB / 1.228 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.3865, allocations: 334.9 kB / 1.228 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004114/0.3869, allocations: 0.5072 MB / 1.229 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.3884, allocations: 1.686 MB / 1.231 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3884, allocations: 0 / 1.231 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3885, allocations: 0 / 1.231 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.3885, allocations: 0 / 1.231 GB, free: 7.363 MB / 0.9825 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.002143/0.3906, allocations: 1.176 MB / 1.232 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.3907, allocations: 19.95 kB / 1.232 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.3908, allocations: 94.5 kB / 1.232 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.3921, allocations: 234.7 kB / 1.232 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000694/0.3928, allocations: 0.5915 MB / 1.233 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.3929, allocations: 33 kB / 1.233 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.393, allocations: 48 kB / 1.233 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.3942, allocations: 0.9687 MB / 1.234 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.3943, allocations: 7.938 kB / 1.234 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.491e-05/0.3943, allocations: 20 kB / 1.234 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/0.3944, allocations: 35.92 kB / 1.234 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.3957, allocations: 0.9523 MB / 1.235 GB, free: 3.016 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.004243/0.4, allocations: 4.168 MB / 1.239 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008405/0.4008, allocations: 0.6017 MB / 1.239 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006822/0.4015, allocations: 0.5264 MB / 1.24 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008514/0.4024, allocations: 0.89 MB / 1.241 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.4024, allocations: 39 kB / 1.241 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001271/0.4037, allocations: 355.2 kB / 1.241 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=50): time 1.663e-06/0.4037, allocations: 0 / 1.241 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50): time 0.01608/0.4198, allocations: 3.697 MB / 1.245 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.4198, allocations: 67.72 kB / 1.245 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/0.4205, allocations: 0.7077 MB / 1.245 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.531e-05/0.4206, allocations: 37.7 kB / 1.245 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.4208, allocations: 320.7 kB / 1.246 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.421, allocations: 173.4 kB / 1.246 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.793e-05/0.4211, allocations: 49.69 kB / 1.246 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.389e-05/0.4212, allocations: 322 kB / 1.246 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005976/0.4218, allocations: 408.9 kB / 1.247 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000637/0.4224, allocations: 489.5 kB / 1.247 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.4237, allocations: 0.9258 MB / 1.248 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4237, allocations: 4 kB / 1.248 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0105/0.4342, allocations: 2.478 MB / 1.25 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4343, allocations: 8.125 kB / 1.25 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4343, allocations: 4 kB / 1.25 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008699/0.443, allocations: 1.558 MB / 1.252 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.4434, allocations: 95.86 kB / 1.252 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4141/0.8575, allocations: 6.55 MB / 1.258 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007743/0.8583, allocations: 35.28 kB / 1.259 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.989e-05/0.8584, allocations: 47.98 kB / 1.259 GB, free: 218.2 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.000297/0.8587, allocations: 218.5 kB / 1.259 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.8588, allocations: 80.77 kB / 1.259 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005006/0.8638, allocations: 1.679 MB / 1.26 GB, free: 218 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.8638, allocations: 12.25 kB / 1.26 GB, free: 218 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.8638, allocations: 5.906 kB / 1.26 GB, free: 218 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.8639, allocations: 3.234 kB / 1.26 GB, free: 218 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005705/0.8696, allocations: 2.486 MB / 1.263 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.8696, allocations: 7.438 kB / 1.263 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.87, allocations: 91.12 kB / 1.263 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003298/0.8733, allocations: 0.6633 MB / 1.264 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.8734, allocations: 14.81 kB / 1.264 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005485/0.8789, allocations: 4.415 MB / 1.268 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.8789, allocations: 6.062 kB / 1.268 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004963/0.8838, allocations: 2.087 MB / 1.27 GB, free: 213.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.8842, allocations: 229.8 kB / 1.27 GB, free: 213.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.8843, allocations: 19.78 kB / 1.27 GB, free: 213.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005765/0.8849, allocations: 34.8 kB / 1.27 GB, free: 213.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.885, allocations: 55.14 kB / 1.27 GB, free: 213.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-05/0.8851, allocations: 19.83 kB / 1.27 GB, free: 213.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006958/0.8858, allocations: 0.4993 MB / 1.271 GB, free: 213 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8858, allocations: 3.938 kB / 1.271 GB, free: 213 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001021/0.8868, allocations: 291.6 kB / 1.271 GB, free: 213 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.00537/0.8922, allocations: 2.741 MB / 1.274 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003098/0.8953, allocations: 1.429 MB / 1.275 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8953, allocations: 0 / 1.275 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.897, allocations: 0.8897 MB / 1.276 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.8991, allocations: 438.5 kB / 1.277 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02629/0.9254, allocations: 10.84 MB / 1.287 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.9257, allocations: 0.9817 MB / 1.288 GB, free: 204.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006153/0.9264, allocations: 169 kB / 1.288 GB, free: 204.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.9267, allocations: 283.6 kB / 1.288 GB, free: 203.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.9267, allocations: 0 / 1.288 GB, free: 203.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.233/2.159, allocations: 27.91 MB / 1.316 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001286/2.16, allocations: 268.5 kB / 1.316 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/4.346, allocations: 4 kB / 1.316 GB, free: 179.3 MB / 0.9981 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