Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.899/2.899, allocations: 476.7 MB / 0.7611 GB, free: 15.71 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 63.89 kB / 1.104 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9539/0.9559, allocations: 168.7 MB / 1.269 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002352/0.9582, allocations: 1.293 MB / 1.27 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005237/0.9587, allocations: 313.7 kB / 1.27 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.9588, allocations: 0.7812 kB / 1.27 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/0.9588, allocations: 0.5625 kB / 1.27 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.9589, allocations: 10.16 kB / 1.27 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.9592, allocations: 90.38 kB / 1.27 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.107e-05/0.9593, allocations: 35.34 kB / 1.27 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.9593, allocations: 2.688 kB / 1.27 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.9594, allocations: 31.17 kB / 1.27 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.9595, allocations: 14.69 kB / 1.27 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.9595, allocations: 0.7812 kB / 1.27 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.9597, allocations: 84.69 kB / 1.271 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.9597, allocations: 9.438 kB / 1.271 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.9597, allocations: 13.55 kB / 1.271 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.9599, allocations: 80.83 kB / 1.271 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.9599, allocations: 0 / 1.271 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9599, allocations: 0 / 1.271 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.9599, allocations: 1.031 kB / 1.271 GB, free: 6.504 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003417/0.9602, allocations: 359.3 kB / 1.271 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.9603, allocations: 10.58 kB / 1.271 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.447e-05/0.9603, allocations: 32 kB / 1.271 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.9603, allocations: 6.734 kB / 1.271 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.567e-05/0.9604, allocations: 164 kB / 1.271 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.9604, allocations: 5.25 kB / 1.271 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.9604, allocations: 9.688 kB / 1.271 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.502e-05/0.9605, allocations: 34.72 kB / 1.271 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.9605, allocations: 0 / 1.271 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.9606, allocations: 4.75 kB / 1.271 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.9606, allocations: 0 / 1.271 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.155e-05/0.9606, allocations: 17.3 kB / 1.271 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001133/0.9607, allocations: 155.6 kB / 1.271 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.389e-05/0.9608, allocations: 32 kB / 1.271 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.9608, allocations: 12.95 kB / 1.271 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008517/0.9617, allocations: 1.185 MB / 1.273 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.9617, allocations: 31.69 kB / 1.273 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.9617, allocations: 1.156 kB / 1.273 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001533/0.9618, allocations: 55.45 kB / 1.273 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.9619, allocations: 56.69 kB / 1.273 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/0.9619, allocations: 111.1 kB / 1.273 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.9619, allocations: 29.64 kB / 1.273 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.284e-05/0.9619, allocations: 81.61 kB / 1.273 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.962, allocations: 5.875 kB / 1.273 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.962, allocations: 23.39 kB / 1.273 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.901e-05/0.962, allocations: 312.3 kB / 1.273 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.962, allocations: 3.609 kB / 1.273 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27e-05/0.9621, allocations: 4.344 kB / 1.273 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.607e-05/0.9621, allocations: 29.77 kB / 1.273 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9621, allocations: 0.7812 kB / 1.273 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.695e-05/0.9622, allocations: 48.41 kB / 1.273 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.9622, allocations: 5.688 kB / 1.273 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.9622, allocations: 0 / 1.273 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.9622, allocations: 0.7188 kB / 1.273 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.317e-05/0.9623, allocations: 6.375 kB / 1.273 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.9623, allocations: 0 / 1.273 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.777e-05/0.9623, allocations: 4.594 kB / 1.273 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.9623, allocations: 5.469 kB / 1.273 GB, free: 3.496 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.248e-05/0.9623, allocations: 112.4 kB / 1.274 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.9623, allocations: 6.625 kB / 1.274 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.9625, allocations: 66.03 kB / 1.274 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.9625, allocations: 1.125 kB / 1.274 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.9625, allocations: 3.938 kB / 1.274 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.9625, allocations: 1.594 kB / 1.274 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.488e-05/0.9625, allocations: 167.7 kB / 1.274 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.9625, allocations: 1.094 kB / 1.274 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.9626, allocations: 5.047 kB / 1.274 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.9626, allocations: 0.75 kB / 1.274 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.9626, allocations: 2.344 kB / 1.274 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.9626, allocations: 0 / 1.274 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.9626, allocations: 0.9375 kB / 1.274 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.657e-05/0.9627, allocations: 74.7 kB / 1.274 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.9627, allocations: 89.92 kB / 1.274 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.9627, allocations: 9.406 kB / 1.274 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.907e-05/0.9628, allocations: 1.5 kB / 1.274 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.9628, allocations: 2.625 kB / 1.274 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.9628, allocations: 6 kB / 1.274 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.876e-05/0.9628, allocations: 91.12 kB / 1.274 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9628, allocations: 0.5625 kB / 1.274 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002203/0.963, allocations: 28.81 kB / 1.274 GB, free: 2.832 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004898/0.9635, allocations: 0.6336 MB / 1.275 GB, free: 18.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.758e-05/0.9636, allocations: 16.17 kB / 1.275 GB, free: 18.22 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9636, allocations: 0 / 1.275 GB, free: 18.22 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.732e-05/0.9636, allocations: 7.234 kB / 1.275 GB, free: 18.22 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.9638, allocations: 6.438 kB / 1.275 GB, free: 18.22 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.9642, allocations: 167 kB / 1.275 GB, free: 18.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.9645, allocations: 0.6795 MB / 1.276 GB, free: 17.36 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.01e-05/0.9646, allocations: 5.062 kB / 1.276 GB, free: 17.36 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.9646, allocations: 18 kB / 1.276 GB, free: 17.34 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.9646, allocations: 0 / 1.276 GB, free: 17.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.9892, allocations: 1.645 MB / 1.277 GB, free: 16.96 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.94, allocations: 17.47 kB / 1.277 GB, free: 16.95 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.28464496228844]