Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.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.001876/0.001876, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002421/0.002421, allocations: 210.9 kB / 22.24 MB, free: 5.258 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.785 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.405/3.405, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.PowerLaw05,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05",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.002317/0.002317, allocations: 71.61 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3551, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05): time 0.002629/0.3577, allocations: 1.316 MB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006356/0.3583, allocations: 271.1 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.052e-05/0.3584, allocations: 0 / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.3584, allocations: 3.938 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.3586, allocations: 19.91 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.3588, allocations: 67.72 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.171e-05/0.3589, allocations: 35.86 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.359, allocations: 0 / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.3591, allocations: 43.89 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.132e-05/0.3591, allocations: 11.92 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.3592, allocations: 0 / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.3593, allocations: 67.88 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.3593, allocations: 7.922 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.3594, allocations: 7.938 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.3595, allocations: 72.02 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3596, allocations: 0 / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3596, allocations: 4 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.3596, allocations: 0 / 1.365 GB, free: 12.13 MB / 1.061 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.0004698/0.36, allocations: 278.1 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.3601, allocations: 12.03 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.3601, allocations: 42.69 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004707/0.3606, allocations: 48.81 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.3607, allocations: 122.4 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.3608, allocations: 4.375 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.3608, allocations: 8.125 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.361, allocations: 79.36 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.361, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.361, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.361, allocations: 4 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.3612, allocations: 47.94 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.3614, allocations: 132.8 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.3618, allocations: 98.5 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.3619, allocations: 28.78 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.362, allocations: 0 / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.362, allocations: 30.56 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.362, allocations: 0 / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0003962/0.3624, allocations: 113.5 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.3624, allocations: 51.41 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.226e-05/0.3625, allocations: 113.8 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.3625, allocations: 25.7 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.3626, allocations: 88.08 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.3626, allocations: 11.84 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.3627, allocations: 13.72 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3628, allocations: 322.8 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.522e-05/0.3629, allocations: 23.98 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.411e-05/0.363, allocations: 19.97 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.3632, allocations: 48.83 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3632, allocations: 0 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002417/0.3634, allocations: 89.89 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.3634, allocations: 4 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.3634, allocations: 0 / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3635, allocations: 4 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.3636, allocations: 15.92 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3636, allocations: 0 / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.812e-05/0.3637, allocations: 7.984 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.3637, allocations: 0 / 1.367 GB, free: 10.08 MB / 1.061 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.515e-05/0.3638, allocations: 109.8 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.3638, allocations: 7.891 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/0.3638, allocations: 16 kB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3638, allocations: 0 / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3638, allocations: 0 / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3639, allocations: 0 / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.364, allocations: 136.7 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.364, allocations: 4 kB / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.3641, allocations: 15.97 kB / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3641, allocations: 0 / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3641, allocations: 0 / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3641, allocations: 4 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3641, allocations: 4 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.3644, allocations: 112.9 kB / 1.367 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.3645, allocations: 8 kB / 1.367 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.3645, allocations: 0 / 1.367 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3646, allocations: 7.984 kB / 1.367 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.3646, allocations: 11.92 kB / 1.367 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.3646, allocations: 0 / 1.367 GB, free: 9.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.015e-05/0.3647, allocations: 87.28 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3647, allocations: 4 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001972/0.3649, allocations: 8 kB / 1.368 GB, free: 9.473 MB / 1.061 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.0005871/0.3655, allocations: 0.6478 MB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.3657, allocations: 47.95 kB / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3657, allocations: 0 / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.3658, allocations: 32.11 kB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.366, allocations: 4.375 kB / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.3678, allocations: 1.282 MB / 1.37 GB, free: 7.352 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.256e-05/0.3679, allocations: 63.34 kB / 1.37 GB, free: 7.27 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.486e-05/0.368, allocations: 8.062 kB / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.368, allocations: 11.44 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.368, allocations: 0 / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.3983, allocations: 2.14 MB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.77, allocations: 1.625 kB / 1.372 GB, free: 5.262 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.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.933357967995107]