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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 213 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.877/2.877, allocations: 476.7 MB / 0.7714 GB, free: 4.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 64.45 kB / 1.118 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4338, allocations: 170 MB / 1.284 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003174/0.437, allocations: 1.329 MB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000676/0.4377, allocations: 303 kB / 1.286 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.4377, allocations: 0 / 1.286 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.4377, allocations: 3.938 kB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.4379, allocations: 15.84 kB / 1.286 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.4382, allocations: 79.72 kB / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.633e-05/0.4383, allocations: 35.91 kB / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.4383, allocations: 4 kB / 1.286 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.4385, allocations: 27.86 kB / 1.286 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.4385, allocations: 19.91 kB / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.4385, allocations: 8 kB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.4387, allocations: 79.91 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.4387, allocations: 4 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.4388, allocations: 7.938 kB / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.4389, allocations: 75.3 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.4389, allocations: 4 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4389, allocations: 0 / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.439, allocations: 0 / 1.286 GB, free: 9.59 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004571/0.4394, allocations: 279.8 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4395, allocations: 16.02 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.526e-05/0.4395, allocations: 8.125 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.4395, allocations: 30.75 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.4395, allocations: 0.9375 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.4397, allocations: 114.4 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.4397, allocations: 384 / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.4397, allocations: 7.938 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.4398, allocations: 41.62 kB / 1.287 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.4398, allocations: 0 / 1.287 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.4398, allocations: 4 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4398, allocations: 0 / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.537e-05/0.4399, allocations: 11.98 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.44, allocations: 132.8 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.4401, allocations: 30.52 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.4402, allocations: 12.86 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006893/0.4409, allocations: 147.8 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.4409, allocations: 34.56 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4409, allocations: 0 / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001802/0.4411, allocations: 49.69 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.4411, allocations: 55.41 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.972e-05/0.4412, allocations: 105.8 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.4412, allocations: 25.7 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.4413, allocations: 84.14 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.4413, allocations: 15.89 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.4413, allocations: 13.72 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4415, allocations: 314.8 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.4415, allocations: 7.938 kB / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.224e-05/0.4415, allocations: 7.984 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.842e-05/0.4416, allocations: 16.86 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4416, allocations: 0 / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.72e-05/0.4417, allocations: 49.91 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.4417, allocations: 10.5 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4417, allocations: 48 / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4417, allocations: 3.984 kB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.502e-05/0.4417, allocations: 4 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.4418, allocations: 3.938 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.4418, allocations: 0 / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.4418, allocations: 15.94 kB / 1.288 GB, free: 7.777 MB / 0.9825 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 0.0001004/0.4419, allocations: 109.8 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.4419, allocations: 7.953 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.442, allocations: 57.67 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.442, allocations: 4 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4421, allocations: 0 / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4421, allocations: 0 / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.4422, allocations: 132.7 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4422, allocations: 4 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.764e-05/0.4422, allocations: 4 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4422, allocations: 0 / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.4422, allocations: 0 / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4422, allocations: 4.297 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4422, allocations: 3.938 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.4423, allocations: 81.02 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.4424, allocations: 15.94 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.4424, allocations: 0 / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.735e-05/0.4424, allocations: 0 / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.4424, allocations: 3.984 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.4424, allocations: 11.94 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.159e-05/0.4425, allocations: 83.27 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4425, allocations: 0 / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002263/0.4427, allocations: 27.92 kB / 1.288 GB, free: 7.156 MB / 0.9825 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.0005435/0.4433, allocations: 0.6473 MB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.169e-05/0.4434, allocations: 12 kB / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.4434, allocations: 0 / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.715e-05/0.4434, allocations: 11.98 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.4436, allocations: 4 kB / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004291/0.444, allocations: 174.4 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.4444, allocations: 0.6807 MB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.848e-05/0.4444, allocations: 4 kB / 1.29 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.4445, allocations: 15.44 kB / 1.29 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.4445, allocations: 0 / 1.29 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.4679, allocations: 1.749 MB / 1.291 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.46, allocations: 14.61 kB / 1.291 GB, free: 3.91 MB / 0.9825 GB " [Timeout remaining time 287] (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/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: 19.776097072055563]