Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001948/0.001948, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.002502/0.002502, allocations: 215.1 kB / 23.03 MB, free: 4.422 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.218/3.218, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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.Validation.OneWayFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="cs",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.002049/0.002049, allocations: 62.19 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3974, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2386/0.6361, allocations: 193.2 MB / 1.534 GB, free: 14 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03215/0.6682, allocations: 24.31 MB / 1.558 GB, free: 5.613 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.6699, allocations: 43.69 kB / 1.558 GB, free: 5.57 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.00284/0.6727, allocations: 1.127 MB / 1.559 GB, free: 4.438 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.008521/0.6812, allocations: 3.234 MB / 1.562 GB, free: 1.191 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005089/0.6863, allocations: 1.73 MB / 1.564 GB, free: 15.46 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.006443/0.6928, allocations: 3.841 MB / 1.567 GB, free: 11.61 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.6952, allocations: 1.136 MB / 1.569 GB, free: 10.44 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005709/0.7009, allocations: 2.397 MB / 1.571 GB, free: 8.035 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002993/0.7039, allocations: 1.541 MB / 1.572 GB, free: 6.488 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0003474/0.7042, allocations: 124 kB / 1.573 GB, free: 6.367 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004012/0.7082, allocations: 1.598 MB / 1.574 GB, free: 4.766 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.7093, allocations: 0.8722 MB / 1.575 GB, free: 3.891 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.711, allocations: 0.9557 MB / 1.576 GB, free: 2.93 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.004916/0.7159, allocations: 3.046 MB / 1.579 GB, free: 15.87 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.7159, allocations: 0 / 1.579 GB, free: 15.87 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.532e-06/0.7159, allocations: 0 / 1.579 GB, free: 15.87 MB / 1.279 GB Notification: Performance of Transformations before backend: time 5.517e-05/0.7159, allocations: 3.984 kB / 1.579 GB, free: 15.87 MB / 1.279 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.004796/0.7207, allocations: 2.889 MB / 1.582 GB, free: 12.93 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.7208, allocations: 8.031 kB / 1.582 GB, free: 12.92 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.467e-05/0.7208, allocations: 34.53 kB / 1.582 GB, free: 12.89 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002253/0.721, allocations: 194.6 kB / 1.582 GB, free: 12.69 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001893/0.7229, allocations: 473.8 kB / 1.582 GB, free: 12.22 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003922/0.7269, allocations: 2.699 MB / 1.585 GB, free: 9.469 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.574e-05/0.727, allocations: 98.53 kB / 1.585 GB, free: 9.371 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.7271, allocations: 128 kB / 1.585 GB, free: 9.246 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.7297, allocations: 1.595 MB / 1.587 GB, free: 7.508 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/0.7297, allocations: 15.89 kB / 1.587 GB, free: 7.492 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.7298, allocations: 56 kB / 1.587 GB, free: 7.438 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/0.73, allocations: 89.91 kB / 1.587 GB, free: 7.352 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.7317, allocations: 1.061 MB / 1.588 GB, free: 6.289 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008569/0.7403, allocations: 6.854 MB / 1.595 GB, free: 15.22 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.7414, allocations: 0.6937 MB / 1.595 GB, free: 14.48 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004673/0.7419, allocations: 300.1 kB / 1.596 GB, free: 14.18 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003515/0.7423, allocations: 91.86 kB / 1.596 GB, free: 14.09 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.7423, allocations: 38.56 kB / 1.596 GB, free: 14.04 MB / 1.295 GB Notification: Performance of pre-optimization done (n=50): time 2.635e-06/0.7423, allocations: 4 kB / 1.596 GB, free: 14.04 MB / 1.295 GB Notification: Performance of matching and sorting (n=50): time 0.001854/0.7441, allocations: 0.9852 MB / 1.597 GB, free: 13.04 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/0.7442, allocations: 162.2 kB / 1.597 GB, free: 12.85 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006075/0.7503, allocations: 4.702 MB / 1.601 GB, free: 8.137 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.7504, allocations: 37.7 kB / 1.601 GB, free: 8.094 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.7515, allocations: 1.072 MB / 1.603 GB, free: 7.016 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.7517, allocations: 194.4 kB / 1.603 GB, free: 6.828 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.7519, allocations: 98.12 kB / 1.603 GB, free: 6.727 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.752, allocations: 326 kB / 1.603 GB, free: 6.402 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/0.7524, allocations: 216.9 kB / 1.603 GB, free: 6.191 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.753, allocations: 377.6 kB / 1.604 GB, free: 5.773 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009119/0.7539, allocations: 0.5521 MB / 1.604 GB, free: 5.188 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.7539, allocations: 0 / 1.604 GB, free: 5.188 MB / 1.295 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001551/0.7554, allocations: 0.8277 MB / 1.605 GB, free: 4.352 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.7555, allocations: 8 kB / 1.605 GB, free: 4.344 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.7555, allocations: 0 / 1.605 GB, free: 4.344 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.7555, allocations: 8 kB / 1.605 GB, free: 4.336 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/0.7559, allocations: 103.9 kB / 1.605 GB, free: 4.234 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.7559, allocations: 7.938 kB / 1.605 GB, free: 4.227 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008965/0.7568, allocations: 99.17 kB / 1.605 GB, free: 4.129 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.827e-05/0.7569, allocations: 20 kB / 1.605 GB, free: 4.109 MB / 1.295 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.0008759/0.7578, allocations: 0.5366 MB / 1.606 GB, free: 3.562 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004161/0.7582, allocations: 250.3 kB / 1.606 GB, free: 3.316 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.7595, allocations: 0.808 MB / 1.607 GB, free: 2.496 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.7595, allocations: 8 kB / 1.607 GB, free: 2.488 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.7595, allocations: 0 / 1.607 GB, free: 2.488 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.7595, allocations: 0 / 1.607 GB, free: 2.488 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003096/0.7626, allocations: 1.924 MB / 1.609 GB, free: 0.4922 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.7627, allocations: 4 kB / 1.609 GB, free: 500 kB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.7631, allocations: 95.89 kB / 1.609 GB, free: 404 kB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.7631, allocations: 4 kB / 1.609 GB, free: 400 kB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.975e-05/0.7632, allocations: 15.98 kB / 1.609 GB, free: 384 kB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.7632, allocations: 4 kB / 1.609 GB, free: 380 kB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.7632, allocations: 11.88 kB / 1.609 GB, free: 368 kB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6394/1.403, allocations: 1.268 MB / 1.61 GB, free: 264.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/1.404, allocations: 358.4 kB / 1.61 GB, free: 264.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/1.404, allocations: 13.3 kB / 1.61 GB, free: 264.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008056/1.405, allocations: 26.45 kB / 1.61 GB, free: 264.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/1.405, allocations: 39.47 kB / 1.61 GB, free: 264.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/1.405, allocations: 17.98 kB / 1.611 GB, free: 264.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.005552/1.411, allocations: 3.516 MB / 1.614 GB, free: 264.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.61e-07/1.411, allocations: 2.938 kB / 1.614 GB, free: 264.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001733/1.412, allocations: 477.7 kB / 1.614 GB, free: 264.2 MB / 1.295 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.00414/1.417, allocations: 2.277 MB / 1.617 GB, free: 263.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0009724/1.418, allocations: 0.5169 MB / 1.617 GB, free: 262.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.418, allocations: 7.688 kB / 1.617 GB, free: 262.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0003981/1.418, allocations: 279 kB / 1.617 GB, free: 262.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003493/1.422, allocations: 0.8699 MB / 1.618 GB, free: 262.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02904/1.451, allocations: 19.42 MB / 1.637 GB, free: 255.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/1.452, allocations: 1.062 MB / 1.638 GB, free: 255.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001872/1.454, allocations: 473.7 kB / 1.639 GB, free: 255.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009435/1.455, allocations: 0.9505 MB / 1.64 GB, free: 254.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.032e-06/1.455, allocations: 0 / 1.64 GB, free: 254.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08185/1.537, allocations: 49.67 MB / 1.688 GB, free: 210.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.72/18.25, allocations: 11.14 kB / 1.688 GB, free: 210.9 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --stepSize=1 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 25.38213564804755]