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.001351/0.001351, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001538/0.001538, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.575/1.575, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.845/2.845, allocations: 476.8 MB / 0.7715 GB, free: 3.871 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.002081/0.002081, allocations: 61.16 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4289, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00351/0.4324, allocations: 1.301 MB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007185/0.4331, allocations: 275.2 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.718e-05/0.4332, allocations: 3.938 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.4332, allocations: 0 / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.4333, allocations: 7.922 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.4338, allocations: 79.72 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.4339, allocations: 43.78 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.948e-05/0.434, allocations: 5.406 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.4341, allocations: 31.89 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.381e-05/0.4342, allocations: 15.94 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.4342, allocations: 0 / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.4344, allocations: 79.91 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/0.4345, allocations: 11.94 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.4345, allocations: 7.938 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.4347, allocations: 75.3 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4347, allocations: 0 / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4347, allocations: 0 / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.4348, allocations: 0 / 1.286 GB, free: 8.75 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.000566/0.4353, allocations: 282.1 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.4354, allocations: 12.03 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.134e-05/0.4354, allocations: 4.188 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.4354, allocations: 30.75 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.4355, allocations: 4.891 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.4357, allocations: 118.4 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.4357, allocations: 384 / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.4357, allocations: 7.938 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.4358, allocations: 67.39 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.4358, allocations: 0 / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4359, allocations: 0 / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.4359, allocations: 11.94 kB / 1.286 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.121e-05/0.4359, allocations: 11.92 kB / 1.286 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.4361, allocations: 132.8 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.4363, allocations: 34.58 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.412e-05/0.4363, allocations: 4.859 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007393/0.437, allocations: 151.9 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.437, allocations: 34.56 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.437, allocations: 0 / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002035/0.4373, allocations: 49.62 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.4373, allocations: 55.41 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.4374, allocations: 105.8 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.4374, allocations: 25.7 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.4375, allocations: 84.12 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.4375, allocations: 15.91 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.4375, allocations: 13.72 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4377, allocations: 318.8 kB / 1.287 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.4377, allocations: 4 kB / 1.287 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/0.4377, allocations: 7.984 kB / 1.287 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.283e-05/0.4378, allocations: 16.8 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4378, allocations: 7.938 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.726e-05/0.4378, allocations: 45.91 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.4378, allocations: 8 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4378, allocations: 0 / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.4379, allocations: 0 / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.4379, allocations: 4.047 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4379, allocations: 0 / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.281e-05/0.438, allocations: 11.98 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.438, allocations: 0 / 1.288 GB, free: 6.902 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 9.36e-05/0.4381, allocations: 111.1 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.4381, allocations: 7.953 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.4382, allocations: 65.61 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4382, allocations: 0 / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4382, allocations: 0 / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4382, allocations: 0 / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.4384, allocations: 140.6 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4384, allocations: 0 / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.898e-05/0.4384, allocations: 4 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4384, allocations: 0 / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.4384, allocations: 0 / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4384, allocations: 0 / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4384, allocations: 4 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.4385, allocations: 77 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.4386, allocations: 11.94 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.4386, allocations: 0 / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.449e-05/0.4386, allocations: 8 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.4386, allocations: 4 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.4387, allocations: 0 / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.436e-05/0.4387, allocations: 91.27 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4387, allocations: 0 / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002482/0.439, allocations: 27.88 kB / 1.288 GB, free: 6.281 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.000521/0.4395, allocations: 0.6396 MB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.636e-05/0.4396, allocations: 15.94 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4396, allocations: 0 / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.035e-05/0.4396, allocations: 8 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.4399, allocations: 12.05 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.4403, allocations: 159.8 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.531e-05/0.4404, allocations: 71.22 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.79e-05/0.4405, allocations: 16.48 kB / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.4405, allocations: 11.44 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of SimCode: time 4.1e-07/0.4405, allocations: 0 / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.4636, allocations: 1.794 MB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.47, allocations: 12.19 kB / 1.291 GB, free: 3.617 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.792164534097537]