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.001361/0.001361, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.001395/0.001395, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.291/1.291, allocations: 225.6 MB / 249.3 MB, free: 3.211 MB / 190.1 MB " [Timeout remaining time 179] 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.467/2.467, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] 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.00174/0.00174, allocations: 67.89 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7457/0.7475, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001895/0.7494, allocations: 1.308 MB / 1.273 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004569/0.7498, allocations: 303.1 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.7499, allocations: 0 / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.7499, allocations: 5.344 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.613e-05/0.7499, allocations: 9.781 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.7502, allocations: 86.42 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.012e-05/0.7503, allocations: 31.27 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.7503, allocations: 2.922 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.7504, allocations: 31.36 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.391e-05/0.7505, allocations: 18.86 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.7505, allocations: 0.9375 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.7506, allocations: 78.94 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.7506, allocations: 10.09 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.7507, allocations: 18.09 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.7508, allocations: 81.09 kB / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.7508, allocations: 0.8125 kB / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7508, allocations: 0 / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.7508, allocations: 0 / 1.273 GB, free: 6.461 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.0002661/0.7511, allocations: 357.4 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.7511, allocations: 9.719 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.592e-05/0.7512, allocations: 31.62 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.304e-05/0.7512, allocations: 6.547 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.326e-05/0.7512, allocations: 162.9 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.7513, allocations: 1.812 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.7513, allocations: 5.906 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.818e-05/0.7513, allocations: 42.14 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.7513, allocations: 1.031 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.7514, allocations: 4 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.7514, allocations: 1 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.629e-05/0.7514, allocations: 9.891 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.765e-05/0.7515, allocations: 158.8 kB / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.931e-05/0.7516, allocations: 27.83 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.7516, allocations: 17.27 kB / 1.274 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007038/0.7523, allocations: 1.184 MB / 1.275 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.7523, allocations: 35.66 kB / 1.275 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.7523, allocations: 0 / 1.275 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001248/0.7524, allocations: 54.06 kB / 1.275 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.705e-05/0.7524, allocations: 56.31 kB / 1.275 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.507e-05/0.7525, allocations: 106.3 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-06/0.7525, allocations: 29.64 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.123e-05/0.7525, allocations: 85.17 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.7525, allocations: 7.422 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.7526, allocations: 17.36 kB / 1.276 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.32e-05/0.7526, allocations: 318 kB / 1.276 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.7526, allocations: 2.844 kB / 1.276 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.255e-05/0.7526, allocations: 15.48 kB / 1.276 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.987e-05/0.7526, allocations: 17.58 kB / 1.276 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7526, allocations: 1.453 kB / 1.276 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.686e-05/0.7527, allocations: 46.92 kB / 1.276 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.7527, allocations: 7.047 kB / 1.276 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.7527, allocations: 336 / 1.276 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.7527, allocations: 0 / 1.276 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.331e-05/0.7528, allocations: 6.781 kB / 1.276 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.7528, allocations: 1 kB / 1.276 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.606e-05/0.7528, allocations: 3.938 kB / 1.276 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.7528, allocations: 9.312 kB / 1.276 GB, free: 3.457 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 3.507e-05/0.7528, allocations: 112 kB / 1.276 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.7528, allocations: 16.34 kB / 1.276 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.7529, allocations: 56.17 kB / 1.276 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.7529, allocations: 1 kB / 1.276 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.7529, allocations: 0 / 1.276 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.7529, allocations: 5.125 kB / 1.276 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.397e-05/0.753, allocations: 160.3 kB / 1.276 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.753, allocations: 0 / 1.276 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.753, allocations: 5.469 kB / 1.276 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.753, allocations: 0.9062 kB / 1.276 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.753, allocations: 3.328 kB / 1.276 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.753, allocations: 0.8125 kB / 1.276 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.753, allocations: 0 / 1.276 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.56e-05/0.7531, allocations: 81.55 kB / 1.276 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/0.7531, allocations: 86.64 kB / 1.277 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.7531, allocations: 1.125 kB / 1.277 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.609e-05/0.7532, allocations: 3.703 kB / 1.277 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.058e-05/0.7532, allocations: 1.094 kB / 1.277 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.7532, allocations: 9.5 kB / 1.277 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.326e-05/0.7532, allocations: 84.94 kB / 1.277 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7532, allocations: 0 / 1.277 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001916/0.7534, allocations: 28.41 kB / 1.277 GB, free: 2.809 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.0003249/0.7537, allocations: 0.6405 MB / 1.277 GB, free: 18.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.303e-05/0.7538, allocations: 15.81 kB / 1.277 GB, free: 18.19 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7538, allocations: 0.75 kB / 1.277 GB, free: 18.19 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-05/0.7538, allocations: 6.641 kB / 1.277 GB, free: 18.19 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.754, allocations: 2.438 kB / 1.277 GB, free: 18.19 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.7543, allocations: 175.2 kB / 1.277 GB, free: 18.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.7546, allocations: 0.6809 MB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.353e-05/0.7546, allocations: 8.656 kB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.7546, allocations: 13.34 kB / 1.278 GB, free: 17.31 MB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/0.7546, allocations: 0 / 1.278 GB, free: 17.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.775, allocations: 1.599 MB / 1.28 GB, free: 16.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.819/7.594, allocations: 17.56 kB / 1.28 GB, free: 16.93 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 12.78198372099996]