Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.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.001267/0.001267, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001441/0.001441, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8946/0.8946, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.743/1.743, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.407e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.5644/0.5644, allocations: 170.3 MB / 1.166 GB, free: 8.539 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.005052/0.5695, allocations: 3.931 MB / 1.17 GB, free: 5.879 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000658/0.5701, allocations: 24.47 kB / 1.17 GB, free: 5.867 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.5712, allocations: 465.5 kB / 1.17 GB, free: 5.602 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.002973/0.5742, allocations: 1.668 MB / 1.172 GB, free: 4.691 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.002892/0.5771, allocations: 1.438 MB / 1.173 GB, free: 3.992 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.001899/0.579, allocations: 1.685 MB / 1.175 GB, free: 3.195 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008383/0.5798, allocations: 0.8497 MB / 1.176 GB, free: 2.797 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.5815, allocations: 1.381 MB / 1.177 GB, free: 2.211 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008379/0.5823, allocations: 0.8027 MB / 1.178 GB, free: 1.973 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.5824, allocations: 103.5 kB / 1.178 GB, free: 1.973 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.5844, allocations: 1.147 MB / 1.179 GB, free: 1.559 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003938/0.5848, allocations: 392.3 kB / 1.179 GB, free: 1.363 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0004148/0.5852, allocations: 413.4 kB / 1.18 GB, free: 1.191 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002731/0.588, allocations: 1.824 MB / 1.182 GB, free: 0.5391 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.588, allocations: 1.406 kB / 1.182 GB, free: 0.5391 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.673e-06/0.588, allocations: 0 / 1.182 GB, free: 0.5391 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.588, allocations: 0 / 1.182 GB, free: 0.5391 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001923/0.5899, allocations: 1.196 MB / 1.183 GB, free: 15.76 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.59, allocations: 10.59 kB / 1.183 GB, free: 15.76 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.5901, allocations: 93.62 kB / 1.183 GB, free: 15.69 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.5918, allocations: 428.6 kB / 1.183 GB, free: 15.62 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007713/0.5925, allocations: 0.5755 MB / 1.184 GB, free: 15.25 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.5926, allocations: 36.66 kB / 1.184 GB, free: 15.24 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.5927, allocations: 47.09 kB / 1.184 GB, free: 15.23 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.5941, allocations: 1.182 MB / 1.185 GB, free: 14.64 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.87e-05/0.5941, allocations: 6.781 kB / 1.185 GB, free: 14.64 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.935e-05/0.5942, allocations: 25.73 kB / 1.185 GB, free: 14.62 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/0.5942, allocations: 29.44 kB / 1.185 GB, free: 14.61 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.5958, allocations: 1.203 MB / 1.186 GB, free: 14.18 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003777/0.5995, allocations: 3.92 MB / 1.19 GB, free: 11.39 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.6009, allocations: 0.8518 MB / 1.191 GB, free: 11.08 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007411/0.6016, allocations: 0.5768 MB / 1.192 GB, free: 10.86 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002875/0.6019, allocations: 85.36 kB / 1.192 GB, free: 10.85 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.6019, allocations: 38.44 kB / 1.192 GB, free: 10.81 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001225/0.6031, allocations: 0.6276 MB / 1.192 GB, free: 10.68 MB / 1.042 GB Notification: Performance of pre-optimization done (n=50): time 3.156e-06/0.6031, allocations: 0 / 1.192 GB, free: 10.68 MB / 1.042 GB Notification: Performance of matching and sorting (n=50): time 0.0095/0.6126, allocations: 3.979 MB / 1.196 GB, free: 9.16 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.6127, allocations: 57.78 kB / 1.196 GB, free: 9.098 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007059/0.6134, allocations: 0.7156 MB / 1.197 GB, free: 8.691 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 7.495e-05/0.6135, allocations: 40.33 kB / 1.197 GB, free: 8.648 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.6136, allocations: 321.2 kB / 1.197 GB, free: 8.363 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.6138, allocations: 190.8 kB / 1.197 GB, free: 8.195 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.614, allocations: 154.5 kB / 1.198 GB, free: 8.098 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.614, allocations: 326.7 kB / 1.198 GB, free: 7.777 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006587/0.6147, allocations: 497.1 kB / 1.198 GB, free: 7.516 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007213/0.6154, allocations: 0.6342 MB / 1.199 GB, free: 7.09 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.6168, allocations: 1.095 MB / 1.2 GB, free: 6.453 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6168, allocations: 1.438 kB / 1.2 GB, free: 6.453 MB / 1.042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.006239/0.6231, allocations: 2.751 MB / 1.203 GB, free: 4.918 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.6231, allocations: 5.25 kB / 1.203 GB, free: 4.918 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.6231, allocations: 3 kB / 1.203 GB, free: 4.918 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004448/0.6275, allocations: 1.734 MB / 1.205 GB, free: 4.031 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004294/0.628, allocations: 123.2 kB / 1.205 GB, free: 3.992 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007446/0.6354, allocations: 6.877 MB / 1.211 GB, free: 14.94 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/0.6362, allocations: 48.06 kB / 1.211 GB, free: 14.92 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.131e-05/0.6363, allocations: 47.83 kB / 1.211 GB, free: 14.89 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003676/0.6367, allocations: 201.9 kB / 1.212 GB, free: 14.73 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.6368, allocations: 83.39 kB / 1.212 GB, free: 14.68 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003107/0.6399, allocations: 1.93 MB / 1.214 GB, free: 13.56 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.6399, allocations: 5.781 kB / 1.214 GB, free: 13.56 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.6399, allocations: 12.75 kB / 1.214 GB, free: 13.55 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.6399, allocations: 7.984 kB / 1.214 GB, free: 13.55 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003883/0.6438, allocations: 2.649 MB / 1.216 GB, free: 11.9 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6438, allocations: 0 / 1.216 GB, free: 11.9 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.6442, allocations: 120.3 kB / 1.216 GB, free: 11.86 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/0.6458, allocations: 0.7961 MB / 1.217 GB, free: 11.52 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/0.6459, allocations: 27.39 kB / 1.217 GB, free: 11.5 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/0.6498, allocations: 4.602 MB / 1.222 GB, free: 7.812 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6498, allocations: 3.094 kB / 1.222 GB, free: 7.812 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00371/0.6535, allocations: 2.457 MB / 1.224 GB, free: 5.445 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004025/0.6539, allocations: 179.3 kB / 1.224 GB, free: 5.27 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.458e-05/0.654, allocations: 15.98 kB / 1.224 GB, free: 5.254 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004408/0.6544, allocations: 47.95 kB / 1.224 GB, free: 5.207 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.6546, allocations: 56.33 kB / 1.224 GB, free: 5.152 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.6546, allocations: 23.98 kB / 1.224 GB, free: 5.129 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0004821/0.6551, allocations: 0.499 MB / 1.225 GB, free: 4.637 MB / 1.057 GB Notification: Performance of sort global known variables: time 4.1e-08/0.6551, allocations: 0 / 1.225 GB, free: 4.637 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0008442/0.656, allocations: 303.8 kB / 1.225 GB, free: 4.34 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004104/0.6601, allocations: 3.08 MB / 1.228 GB, free: 1.207 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.002714/0.6628, allocations: 1.613 MB / 1.23 GB, free: 15.57 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.6628, allocations: 4 kB / 1.23 GB, free: 15.56 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.664, allocations: 0.9496 MB / 1.231 GB, free: 14.59 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.6654, allocations: 459.4 kB / 1.231 GB, free: 14.16 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/0.6828, allocations: 11.05 MB / 1.242 GB, free: 2.918 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.6831, allocations: 389.4 kB / 1.242 GB, free: 2.512 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0005611/0.6837, allocations: 166.7 kB / 1.242 GB, free: 2.344 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/0.684, allocations: 288.3 kB / 1.243 GB, free: 2.062 MB / 1.073 GB Notification: Performance of SimCode: time 1.273e-06/0.684, allocations: 4 kB / 1.243 GB, free: 2.059 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04618/0.7302, allocations: 35.15 MB / 1.277 GB, free: 15.49 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.782, allocations: 13.31 kB / 1.277 GB, free: 15.48 MB / 1.12 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_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_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable pow_2dat.V_flow in file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_2dat.V_flow from file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_1dat.V_flow in file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_1dat.V_flow from file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_V_flow.V_flow in file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_V_flow.V_flow from file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_m_flow.V_flow in file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_m_flow.V_flow from file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.893176017329097]