Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.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.0008262/0.0008262, 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.0009031/0.0009031, 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.8956/0.8956, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.741/1.741, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Validation.OneWayFlow,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.9809 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.086e-05, allocations: 6.281 kB / 0.981 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.5864/0.5864, allocations: 193.1 MB / 1.169 GB, free: 14.43 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0241/0.6105, allocations: 24.26 MB / 1.193 GB, free: 14.22 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.6125, allocations: 45.25 kB / 1.193 GB, free: 14.2 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.6152, allocations: 1.14 MB / 1.194 GB, free: 13.64 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.007225/0.6224, allocations: 3.309 MB / 1.198 GB, free: 11.95 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003888/0.6263, allocations: 1.821 MB / 1.199 GB, free: 11.05 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.004805/0.6311, allocations: 3.9 MB / 1.203 GB, free: 9.277 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002084/0.6332, allocations: 1.121 MB / 1.204 GB, free: 8.77 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005831/0.639, allocations: 2.883 MB / 1.207 GB, free: 7.543 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002451/0.6415, allocations: 1.361 MB / 1.208 GB, free: 6.875 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003634/0.6418, allocations: 125.3 kB / 1.209 GB, free: 6.875 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003692/0.6455, allocations: 1.605 MB / 1.21 GB, free: 6.004 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.6465, allocations: 0.9113 MB / 1.211 GB, free: 5.418 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.6478, allocations: 0.759 MB / 1.212 GB, free: 5.074 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.004443/0.6522, allocations: 2.995 MB / 1.215 GB, free: 3.293 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.6523, allocations: 0 / 1.215 GB, free: 3.293 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.033e-06/0.6523, allocations: 4 kB / 1.215 GB, free: 3.289 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.447e-05/0.6523, allocations: 0 / 1.215 GB, free: 3.289 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.003766/0.6561, allocations: 2.873 MB / 1.217 GB, free: 1.191 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.6561, allocations: 11.98 kB / 1.217 GB, free: 1.188 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/0.6563, allocations: 194.6 kB / 1.218 GB, free: 1.035 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.6574, allocations: 465.3 kB / 1.218 GB, free: 0.7969 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002632/0.66, allocations: 2.706 MB / 1.221 GB, free: 15.34 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.03e-05/0.6601, allocations: 93.06 kB / 1.221 GB, free: 15.29 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.6602, allocations: 129.2 kB / 1.221 GB, free: 15.25 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.6618, allocations: 1.591 MB / 1.222 GB, free: 14.18 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.6619, allocations: 18.77 kB / 1.223 GB, free: 14.17 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-05/0.6619, allocations: 53.31 kB / 1.223 GB, free: 14.13 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.927e-05/0.662, allocations: 94.02 kB / 1.223 GB, free: 14.11 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.6632, allocations: 1.059 MB / 1.224 GB, free: 13.62 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00629/0.6695, allocations: 6.847 MB / 1.23 GB, free: 8.25 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.6702, allocations: 0.7025 MB / 1.231 GB, free: 7.891 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.6705, allocations: 299.5 kB / 1.231 GB, free: 7.742 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002409/0.6707, allocations: 92.08 kB / 1.231 GB, free: 7.711 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.6707, allocations: 41.5 kB / 1.231 GB, free: 7.664 MB / 1.057 GB Notification: Performance of pre-optimization done (n=50): time 2.875e-06/0.6707, allocations: 4 kB / 1.231 GB, free: 7.66 MB / 1.057 GB Notification: Performance of matching and sorting (n=50): time 0.001341/0.6721, allocations: 0.9837 MB / 1.232 GB, free: 7.219 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.6721, allocations: 163.8 kB / 1.233 GB, free: 7.027 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004043/0.6762, allocations: 4.706 MB / 1.237 GB, free: 3.328 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/0.6762, allocations: 37.7 kB / 1.237 GB, free: 3.285 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007171/0.677, allocations: 1.072 MB / 1.238 GB, free: 2.207 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.6771, allocations: 194.3 kB / 1.238 GB, free: 2.016 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.6772, allocations: 94.17 kB / 1.239 GB, free: 1.918 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 7.801e-05/0.6773, allocations: 322 kB / 1.239 GB, free: 1.598 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.6775, allocations: 220.9 kB / 1.239 GB, free: 1.383 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.6778, allocations: 369.6 kB / 1.239 GB, free: 0.9805 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.6783, allocations: 0.5561 MB / 1.24 GB, free: 400 kB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.6783, allocations: 3.125 kB / 1.24 GB, free: 400 kB / 1.057 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001041/0.6794, allocations: 0.8201 MB / 1.241 GB, free: 15.56 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.6794, allocations: 8 kB / 1.241 GB, free: 15.55 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.6794, allocations: 4 kB / 1.241 GB, free: 15.55 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.6794, allocations: 7.984 kB / 1.241 GB, free: 15.54 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.6797, allocations: 107.6 kB / 1.241 GB, free: 15.44 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.6797, allocations: 4.109 kB / 1.241 GB, free: 15.43 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006506/0.6803, allocations: 103.1 kB / 1.241 GB, free: 15.33 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.6804, allocations: 20.66 kB / 1.241 GB, free: 15.31 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * 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.0006761/0.6811, allocations: 0.5488 MB / 1.242 GB, free: 14.75 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003187/0.6814, allocations: 242.4 kB / 1.242 GB, free: 14.52 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000882/0.6823, allocations: 0.8001 MB / 1.243 GB, free: 13.71 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.6823, allocations: 8 kB / 1.243 GB, free: 13.7 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.6823, allocations: 0 / 1.243 GB, free: 13.7 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.6823, allocations: 3.984 kB / 1.243 GB, free: 13.7 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.6846, allocations: 1.93 MB / 1.244 GB, free: 11.7 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6846, allocations: 4 kB / 1.244 GB, free: 11.69 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.6848, allocations: 95.89 kB / 1.245 GB, free: 11.6 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.6848, allocations: 4 kB / 1.245 GB, free: 11.59 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.6849, allocations: 15.98 kB / 1.245 GB, free: 11.58 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.6849, allocations: 8.562 kB / 1.245 GB, free: 11.57 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6849, allocations: 0 / 1.245 GB, free: 11.57 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.6862, allocations: 1.285 MB / 1.246 GB, free: 10.26 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006468/0.6868, allocations: 362.1 kB / 1.246 GB, free: 9.902 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.687, allocations: 12 kB / 1.246 GB, free: 9.891 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003902/0.6874, allocations: 27.61 kB / 1.246 GB, free: 9.867 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.6874, allocations: 40.38 kB / 1.246 GB, free: 9.824 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.6875, allocations: 20.08 kB / 1.246 GB, free: 9.805 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.002881/0.6903, allocations: 3.514 MB / 1.25 GB, free: 6.285 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6903, allocations: 0 / 1.25 GB, free: 6.285 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.001324/0.6917, allocations: 479.1 kB / 1.25 GB, free: 5.816 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.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 (53): * Single equations (assignments): 53 * 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.002739/0.6944, allocations: 2.294 MB / 1.252 GB, free: 3.637 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0006957/0.6951, allocations: 0.5225 MB / 1.253 GB, free: 3.113 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6951, allocations: 7.938 kB / 1.253 GB, free: 3.105 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.6954, allocations: 283.2 kB / 1.253 GB, free: 2.832 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.6979, allocations: 0.8648 MB / 1.254 GB, free: 1.969 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/0.718, allocations: 19.27 MB / 1.273 GB, free: 14.43 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007962/0.7188, allocations: 1.062 MB / 1.274 GB, free: 13.34 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.00112/0.7199, allocations: 474.1 kB / 1.274 GB, free: 12.87 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009086/0.7208, allocations: 0.9455 MB / 1.275 GB, free: 11.93 MB / 1.104 GB Notification: Performance of SimCode: time 1.522e-06/0.7208, allocations: 3.938 kB / 1.275 GB, free: 11.92 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06609/0.7869, allocations: 50.31 MB / 1.324 GB, free: 10.49 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.87/9.657, allocations: 11 kB / 1.324 GB, free: 10.48 MB / 1.151 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --stepSize=1 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.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: 13.689843845553696]