Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.001736/0.001736, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002106/0.002106, allocations: 212 kB / 22.25 MB, free: 4.859 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.63/1.63, allocations: 230.6 MB / 256 MB, free: 7.781 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 3.078/3.078, allocations: 476 MB / 0.7699 GB, free: 4.738 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.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",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: 70.66 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.419, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.003059/0.4221, allocations: 1.273 MB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003828/0.4225, allocations: 107.5 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.58e-05/0.4225, allocations: 0 / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.355e-05/0.4225, allocations: 0 / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.296e-05/0.4226, allocations: 11.91 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.4229, allocations: 35.91 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.423, allocations: 15.92 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.867e-05/0.423, allocations: 4.094 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.664e-05/0.423, allocations: 4 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.106e-05/0.4231, allocations: 15.8 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.4231, allocations: 4 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.4233, allocations: 47.94 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.4233, allocations: 4 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.4233, allocations: 0 / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.4235, allocations: 45.5 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.4235, allocations: 0 / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.335e-06/0.4235, allocations: 0 / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.4235, allocations: 4 kB / 1.284 GB, free: 10.9 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004946/0.424, allocations: 262.3 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.424, allocations: 8.031 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.4241, allocations: 34.75 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.4241, allocations: 0.9375 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.4243, allocations: 110.5 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.4243, allocations: 4.375 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.4243, allocations: 4.125 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.4244, allocations: 37.69 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4244, allocations: 4 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.4244, allocations: 0 / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.4244, allocations: 3.938 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.603e-05/0.4245, allocations: 4 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.4246, allocations: 120.8 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.204e-05/0.4247, allocations: 22.59 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.4247, allocations: 16.86 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004973/0.4252, allocations: 83.92 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.4253, allocations: 34.5 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4253, allocations: 4 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001964/0.4255, allocations: 45.62 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.4255, allocations: 55.41 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.4256, allocations: 97.86 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.4257, allocations: 25.7 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.4257, allocations: 80.14 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.4257, allocations: 3.953 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.4258, allocations: 17.7 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.426, allocations: 314.8 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.53e-05/0.426, allocations: 4.125 kB / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-06/0.426, allocations: 4 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.262e-05/0.426, allocations: 20.8 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.426, allocations: 0 / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.982e-05/0.4261, allocations: 41.62 kB / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.4261, allocations: 4 kB / 1.285 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4261, allocations: 0 / 1.285 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.4262, allocations: 7.938 kB / 1.285 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.436e-05/0.4262, allocations: 0 / 1.285 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4262, allocations: 0 / 1.285 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.4263, allocations: 12.05 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.4263, allocations: 0 / 1.286 GB, free: 9.246 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 (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 0.0001146/0.4264, allocations: 109.8 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.4264, allocations: 7.938 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.4265, allocations: 52.92 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4265, allocations: 0 / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4265, allocations: 0 / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.4265, allocations: 0 / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.4267, allocations: 128.7 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4267, allocations: 0 / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.348e-05/0.4267, allocations: 8.031 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4267, allocations: 0 / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.4267, allocations: 4.188 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4267, allocations: 0 / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4267, allocations: 0 / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.4269, allocations: 76.98 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-06/0.4269, allocations: 3.938 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.4269, allocations: 4 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.569e-05/0.4269, allocations: 0 / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.4269, allocations: 0 / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.4269, allocations: 32 / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.786e-05/0.427, allocations: 87.27 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.427, allocations: 0 / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000214/0.4272, allocations: 15.94 kB / 1.286 GB, free: 8.684 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 (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.0005263/0.4277, allocations: 0.6162 MB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.742e-05/0.4278, allocations: 15.92 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4278, allocations: 0 / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.167e-05/0.4278, allocations: 4 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.4281, allocations: 10.34 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.4294, allocations: 1.079 MB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.82e-05/0.4294, allocations: 67.28 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.053e-05/0.4295, allocations: 0 / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.4295, allocations: 11.38 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.4295, allocations: 4 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03633/0.4658, allocations: 1.976 MB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.31, allocations: 7.141 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.803283422254026]