Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007489/0.0007489, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008056/0.0008056, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8548/0.8548, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.732/1.732, allocations: 389.1 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.378e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001531/0.001544, allocations: 1.3 MB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000395/0.001939, allocations: 247.1 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.001968, allocations: 0 / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.001986, allocations: 0 / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.932e-05/0.002076, allocations: 19.86 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.002325, allocations: 75.59 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.002392, allocations: 35.84 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.002427, allocations: 0 / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.002537, allocations: 39.91 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.002577, allocations: 7.984 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.002591, allocations: 4 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.0027, allocations: 67.84 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.002714, allocations: 0 / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.002731, allocations: 8 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.002868, allocations: 87.7 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.00287, allocations: 0 / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.51e-07/0.002871, allocations: 0 / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.002874, allocations: 4 kB / 1.002 GB, free: 11.61 MB / 0.9636 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.0002973/0.003172, allocations: 274.2 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.003207, allocations: 8.75 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.688e-05/0.003234, allocations: 30.75 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.003499, allocations: 56.73 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.011e-05/0.003569, allocations: 113.7 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.003589, allocations: 4.375 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.003597, allocations: 8.375 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.003731, allocations: 87.66 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.003737, allocations: 4 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.003746, allocations: 0 / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.00375, allocations: 0 / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.039e-05/0.00384, allocations: 31.97 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.004129, allocations: 231.9 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.308e-05/0.004212, allocations: 42.56 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.004244, allocations: 20.91 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.004256, allocations: 0 / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.004275, allocations: 34.56 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.004276, allocations: 0 / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001698/0.004446, allocations: 69.61 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.004471, allocations: 59.33 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.399e-05/0.004525, allocations: 114 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.004535, allocations: 25.7 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.673e-05/0.004562, allocations: 80.14 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.004576, allocations: 11.95 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.004603, allocations: 17.67 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.733e-05/0.00467, allocations: 310.8 kB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.03e-05/0.0047, allocations: 11.98 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/0.004725, allocations: 11.98 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.506e-05/0.00478, allocations: 36.84 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.004781, allocations: 3.938 kB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.854e-05/0.00486, allocations: 61.61 kB / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.00487, allocations: 4 kB / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.004874, allocations: 0 / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.004883, allocations: 0 / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.213e-05/0.004935, allocations: 8 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.00494, allocations: 0 / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.004962, allocations: 3.984 kB / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.004967, allocations: 8.031 kB / 1.003 GB, free: 9.664 MB / 0.9636 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 (2): * Single equations (assignments): 2 * 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.585e-05/0.005012, allocations: 109.8 kB / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.005025, allocations: 4 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.005048, allocations: 7.625 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.005049, allocations: 0 / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.005052, allocations: 0 / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.005054, allocations: 0 / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.005157, allocations: 140.7 kB / 1.003 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.005158, allocations: 0 / 1.003 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.005183, allocations: 7.984 kB / 1.003 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.005185, allocations: 8 kB / 1.003 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.00519, allocations: 0 / 1.003 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.5e-07/0.005191, allocations: 0 / 1.003 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.005191, allocations: 0 / 1.003 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.005297, allocations: 163.3 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.005319, allocations: 4 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.005329, allocations: 11.92 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.005364, allocations: 0 / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.005377, allocations: 4 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-06/0.005379, allocations: 4.031 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.605e-05/0.005405, allocations: 87.27 kB / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005405, allocations: 0 / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001429/0.005548, allocations: 8 kB / 1.004 GB, free: 9.043 MB / 0.9636 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 (2): * Single equations (assignments): 2 * 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.0002538/0.005802, allocations: 0.6857 MB / 1.004 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.267e-05/0.005895, allocations: 27.97 kB / 1.004 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.005897, allocations: 12.09 kB / 1.004 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.426e-05/0.005922, allocations: 11.98 kB / 1.004 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.006098, allocations: 6.172 kB / 1.004 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.00642, allocations: 162.4 kB / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.993e-05/0.00646, allocations: 63.34 kB / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.997e-05/0.00649, allocations: 7.969 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.006519, allocations: 12.5 kB / 1.005 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of SimCode: time 2.8e-07/0.00652, allocations: 3.938 kB / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01535/0.02187, allocations: 1.89 MB / 1.007 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.508/6.53, allocations: 3.938 kB / 1.007 GB, free: 6.219 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.44070712197572]