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.001833/0.001833, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00159/0.00159, allocations: 219.6 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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 3.297/3.297, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_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.002024/0.002024, allocations: 73.25 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4309, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003309/0.4343, allocations: 1.309 MB / 1.347 GB, free: 15.13 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0007498/0.435, allocations: 303 kB / 1.347 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.4351, allocations: 4 kB / 1.347 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.562e-05/0.4351, allocations: 3.984 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.4352, allocations: 15.84 kB / 1.347 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.4356, allocations: 75.73 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.4357, allocations: 39.78 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.625e-05/0.4358, allocations: 4 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.4359, allocations: 31.91 kB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.757e-05/0.436, allocations: 11.92 kB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.436, allocations: 8 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.4363, allocations: 79.91 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.4363, allocations: 7.938 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.4363, allocations: 11.94 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.4366, allocations: 76 kB / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4366, allocations: 0 / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4366, allocations: 0 / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.4366, allocations: 0 / 1.347 GB, free: 14.47 MB / 1.045 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.0005071/0.4371, allocations: 286 kB / 1.348 GB, free: 14.16 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.4371, allocations: 12.03 kB / 1.348 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.65e-05/0.4371, allocations: 192 / 1.348 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.505e-05/0.4372, allocations: 38.75 kB / 1.348 GB, free: 14.1 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.4372, allocations: 0.9375 kB / 1.348 GB, free: 14.1 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.4373, allocations: 114.4 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.4373, allocations: 384 / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.4374, allocations: 3.938 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.4375, allocations: 41.69 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.4375, allocations: 3.938 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.4375, allocations: 4 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4375, allocations: 0 / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.513e-05/0.4375, allocations: 15.92 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.4377, allocations: 132.8 kB / 1.348 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.414e-05/0.4378, allocations: 30.52 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.4378, allocations: 16.91 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006711/0.4385, allocations: 139.9 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.4386, allocations: 42.5 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4386, allocations: 0 / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.000177/0.4387, allocations: 53.62 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.4388, allocations: 59.41 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.953e-05/0.4389, allocations: 105.8 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.4389, allocations: 25.7 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.4389, allocations: 80.14 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.439, allocations: 11.95 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.439, allocations: 13.72 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4391, allocations: 310.8 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.4392, allocations: 11.98 kB / 1.349 GB, free: 12.76 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.054e-05/0.4392, allocations: 4 kB / 1.349 GB, free: 12.76 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.137e-05/0.4392, allocations: 24.73 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4392, allocations: 0 / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.547e-05/0.4393, allocations: 49.58 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4393, allocations: 8 kB / 1.349 GB, free: 12.67 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.4393, allocations: 0 / 1.349 GB, free: 12.67 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.4393, allocations: 0 / 1.349 GB, free: 12.67 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.684e-05/0.4394, allocations: 8 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.4394, allocations: 0 / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.74e-05/0.4394, allocations: 0 / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.4394, allocations: 8 kB / 1.349 GB, free: 12.65 MB / 1.045 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.659e-05/0.4395, allocations: 113.8 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.4395, allocations: 4 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.4397, allocations: 61.92 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4397, allocations: 0 / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4397, allocations: 4 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4397, allocations: 0 / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.4398, allocations: 136.7 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4398, allocations: 3.938 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.4399, allocations: 11.98 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4399, allocations: 0 / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.4399, allocations: 0 / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4399, allocations: 0 / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4399, allocations: 0 / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.44, allocations: 84.95 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.44, allocations: 4 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.44, allocations: 4 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.853e-05/0.4401, allocations: 3.984 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.4401, allocations: 0 / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.4401, allocations: 4 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.212e-05/0.4402, allocations: 87.27 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4402, allocations: 0 / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002261/0.4404, allocations: 27.88 kB / 1.349 GB, free: 12.03 MB / 1.045 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.0005861/0.441, allocations: 0.6478 MB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.119e-05/0.4411, allocations: 16.02 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4411, allocations: 4 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.8e-05/0.4411, allocations: 8 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.4413, allocations: 4 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004341/0.4418, allocations: 175.7 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.4421, allocations: 0.6883 MB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.4421, allocations: 4 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.4422, allocations: 11.44 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of SimCode: time 3.9e-07/0.4422, allocations: 0 / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.4643, allocations: 1.762 MB / 1.353 GB, free: 8.766 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.44, allocations: 9.031 kB / 1.353 GB, free: 8.762 MB / 1.045 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.526832871022634]