Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008378/0.0008378, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008748/0.0008748, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8663/0.8663, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.616/1.616, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.976e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001694/0.001714, allocations: 1.302 MB / 0.9518 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004432/0.002157, allocations: 271 kB / 0.952 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.426e-05/0.002192, allocations: 0 / 0.952 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.002213, allocations: 0 / 0.952 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.639e-05/0.002309, allocations: 15.92 kB / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.002615, allocations: 79.64 kB / 0.9521 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.621e-05/0.002691, allocations: 39.78 kB / 0.9522 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.002735, allocations: 4 kB / 0.9522 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.002853, allocations: 31.97 kB / 0.9522 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.404e-05/0.002897, allocations: 15.92 kB / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.00291, allocations: 4 kB / 0.9522 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.003026, allocations: 71.92 kB / 0.9523 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.003041, allocations: 7.969 kB / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.003059, allocations: 7.938 kB / 0.9523 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.003196, allocations: 91.75 kB / 0.9524 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003198, allocations: 0 / 0.9524 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003199, allocations: 0 / 0.9524 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.003203, allocations: 8 kB / 0.9524 GB, free: 1.566 MB / 0.9011 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.0003253/0.003528, allocations: 279.8 kB / 0.9526 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.003566, allocations: 11.97 kB / 0.9527 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.787e-05/0.003594, allocations: 30.75 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.003618, allocations: 4.938 kB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.39e-05/0.003692, allocations: 113.7 kB / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.0037, allocations: 4.375 kB / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.003707, allocations: 384 / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.003812, allocations: 67.7 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.003821, allocations: 4 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.00383, allocations: 7.984 kB / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.003835, allocations: 0 / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.757e-05/0.003872, allocations: 7.984 kB / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001302/0.004003, allocations: 132.8 kB / 0.953 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.667e-05/0.004079, allocations: 34.52 kB / 0.9531 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.004097, allocations: 8.922 kB / 0.9531 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003949/0.004492, allocations: 147.8 kB / 0.9532 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.004522, allocations: 38.5 kB / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.004524, allocations: 0 / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001712/0.004695, allocations: 53.64 kB / 0.9533 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.004725, allocations: 51.41 kB / 0.9533 GB, free: 444 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.861e-05/0.004784, allocations: 105.8 kB / 0.9534 GB, free: 328 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.004795, allocations: 33.62 kB / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.573e-05/0.004821, allocations: 80.14 kB / 0.9535 GB, free: 204 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.004848, allocations: 19.88 kB / 0.9536 GB, free: 184 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.004875, allocations: 17.72 kB / 0.9536 GB, free: 160 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.004965, allocations: 310.8 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.004981, allocations: 8 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.087e-05/0.004992, allocations: 7.984 kB / 0.9539 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.741e-05/0.005029, allocations: 20.86 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005031, allocations: 0 / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003229/0.005354, allocations: 49.64 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.005368, allocations: 7.938 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.005374, allocations: 0 / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.005386, allocations: 0 / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.923e-05/0.005436, allocations: 7.938 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.005442, allocations: 8 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/0.005454, allocations: 0 / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.005459, allocations: 0 / 0.954 GB, free: 15.73 MB / 0.9167 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 5.956e-05/0.005519, allocations: 109.8 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-06/0.005525, allocations: 3.938 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.005627, allocations: 65.97 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.005629, allocations: 0 / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.005635, allocations: 0 / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.005638, allocations: 7.938 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.321e-05/0.005711, allocations: 129.1 kB / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.005712, allocations: 0 / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.285e-05/0.005725, allocations: 4 kB / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.005728, allocations: 3.938 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.005735, allocations: 3.938 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.005735, allocations: 4 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005736, allocations: 3.938 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.166e-05/0.005798, allocations: 73.06 kB / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.00583, allocations: 11.98 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.005841, allocations: 7.938 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.293e-05/0.005864, allocations: 4 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.005877, allocations: 0 / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-06/0.005881, allocations: 0 / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.226e-05/0.005913, allocations: 91.27 kB / 0.9545 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005913, allocations: 0 / 0.9545 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001623/0.006076, allocations: 27.88 kB / 0.9545 GB, free: 15.1 MB / 0.9167 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.0003364/0.006412, allocations: 0.6473 MB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.103e-05/0.006493, allocations: 8 kB / 0.9552 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.006495, allocations: 0 / 0.9552 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.374e-05/0.006508, allocations: 19.92 kB / 0.9552 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.006724, allocations: 8 kB / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.007046, allocations: 156.1 kB / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.654e-05/0.007093, allocations: 71.23 kB / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.007124, allocations: 8 kB / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.007152, allocations: 12.5 kB / 0.9554 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.007153, allocations: 0 / 0.9554 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.02618, allocations: 2.289 MB / 0.9577 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.108/7.135, allocations: 11.31 kB / 0.9577 GB, free: 11.94 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.145718043670058]