Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001777/0.001777, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002132/0.002132, allocations: 217.1 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.112/3.112, allocations: 0.49 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.PowerLawFixedM,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.00328/0.00328, allocations: 68.28 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3682, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002351/0.3706, allocations: 1.298 MB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000578/0.3711, allocations: 275.1 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.3712, allocations: 0 / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.3712, allocations: 3.938 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.3713, allocations: 11.86 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.3716, allocations: 75.78 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.407e-05/0.3717, allocations: 35.84 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.3717, allocations: 7.938 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.3719, allocations: 31.91 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.474e-05/0.3719, allocations: 15.92 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3719, allocations: 4 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.3721, allocations: 75.91 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.3721, allocations: 11.94 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.3721, allocations: 7.938 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.3723, allocations: 76 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.3723, allocations: 4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3723, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.3723, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 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.0004115/0.3727, allocations: 282.1 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3728, allocations: 12.03 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.979e-05/0.3728, allocations: 30.75 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.3728, allocations: 4.922 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.373, allocations: 118.4 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.373, allocations: 384 / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.373, allocations: 8.125 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.3731, allocations: 63.39 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3731, allocations: 3.938 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.3731, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3731, allocations: 4 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.803e-05/0.3732, allocations: 8 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.3733, allocations: 132.8 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.212e-05/0.3734, allocations: 30.56 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.3734, allocations: 12.86 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006372/0.3741, allocations: 147.9 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.3741, allocations: 30.56 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3741, allocations: 3.938 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000157/0.3743, allocations: 53.81 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.3743, allocations: 51.41 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/0.3744, allocations: 109.8 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3744, allocations: 25.7 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.3745, allocations: 80.14 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.3745, allocations: 11.91 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.3745, allocations: 13.72 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3746, allocations: 330.8 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.3747, allocations: 8 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.057e-05/0.3747, allocations: 3.938 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.983e-05/0.3747, allocations: 20.8 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3747, allocations: 0 / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.55e-05/0.3748, allocations: 49.62 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3748, allocations: 8 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.3748, allocations: 0 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3748, allocations: 0 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.289e-05/0.3749, allocations: 4 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3749, allocations: 3.984 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.795e-05/0.3749, allocations: 4 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.3749, allocations: 4 kB / 1.329 GB, free: 13.73 MB / 1.029 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 8.321e-05/0.375, allocations: 106.4 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.375, allocations: 11.89 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.3752, allocations: 61.92 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3752, allocations: 4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3752, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3752, allocations: 4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.3753, allocations: 132.7 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3753, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.3753, allocations: 7.984 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3753, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.3753, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3753, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3753, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.3754, allocations: 84.95 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.3755, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.3755, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.559e-05/0.3755, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.3755, allocations: 7.984 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.3755, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.118e-05/0.3756, allocations: 87.28 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3756, allocations: 0 / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002124/0.3758, allocations: 31.86 kB / 1.33 GB, free: 13.1 MB / 1.029 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.0004835/0.3763, allocations: 0.6502 MB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.913e-05/0.3764, allocations: 20.02 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3764, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.897e-05/0.3764, allocations: 12 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.3766, allocations: 1.719 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004135/0.377, allocations: 175.6 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.55e-05/0.3771, allocations: 67.34 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.886e-05/0.3771, allocations: 8 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.3772, allocations: 7.438 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3772, allocations: 0 / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.4053, allocations: 2.16 MB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.01, allocations: 8.406 kB / 1.333 GB, free: 10.05 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.656237704009982]