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.001452/0.001452, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001858/0.001858, allocations: 216.7 kB / 23.04 MB, free: 5.074 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.108/3.108, allocations: 0.49 GB / 0.7959 GB, free: 33.28 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.Validation.OneWayFlow,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_12_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.001964/0.001964, allocations: 67.45 kB / 1.155 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3416, allocations: 176.1 MB / 1.327 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2573/0.5989, allocations: 222.6 MB / 1.544 GB, free: 2.52 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03751/0.6364, allocations: 26.94 MB / 1.57 GB, free: 7.5 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/0.6385, allocations: 47.69 kB / 1.57 GB, free: 7.453 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003155/0.6416, allocations: 1.189 MB / 1.572 GB, free: 6.258 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.008549/0.6502, allocations: 3.271 MB / 1.575 GB, free: 2.973 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.00474/0.6549, allocations: 1.74 MB / 1.576 GB, free: 1.238 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.006495/0.6614, allocations: 3.845 MB / 1.58 GB, free: 13.38 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/0.6639, allocations: 1.136 MB / 1.581 GB, free: 12.21 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005864/0.6698, allocations: 2.397 MB / 1.584 GB, free: 9.805 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002945/0.6727, allocations: 1.529 MB / 1.585 GB, free: 8.27 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.000485/0.6732, allocations: 128 kB / 1.585 GB, free: 8.145 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004932/0.6781, allocations: 1.917 MB / 1.587 GB, free: 6.223 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001382/0.6795, allocations: 0.8721 MB / 1.588 GB, free: 5.348 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002487/0.682, allocations: 1.177 MB / 1.589 GB, free: 4.164 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.006519/0.6885, allocations: 3.035 MB / 1.592 GB, free: 1.117 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.6885, allocations: 0 / 1.592 GB, free: 1.117 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6885, allocations: 3.938 kB / 1.592 GB, free: 1.113 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001316/0.6887, allocations: 0 / 1.592 GB, free: 1.113 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.006181/0.6948, allocations: 2.885 MB / 1.595 GB, free: 14.18 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.6949, allocations: 12.03 kB / 1.595 GB, free: 14.17 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.977e-05/0.6949, allocations: 30.53 kB / 1.595 GB, free: 14.14 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003334/0.6953, allocations: 198.6 kB / 1.595 GB, free: 13.93 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002112/0.6974, allocations: 469.8 kB / 1.596 GB, free: 13.47 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004963/0.7023, allocations: 2.703 MB / 1.598 GB, free: 10.71 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.7025, allocations: 102.5 kB / 1.598 GB, free: 10.61 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003061/0.7028, allocations: 124 kB / 1.598 GB, free: 10.49 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003331/0.7061, allocations: 1.599 MB / 1.6 GB, free: 8.75 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.045e-05/0.7062, allocations: 7.938 kB / 1.6 GB, free: 8.742 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.7063, allocations: 55.98 kB / 1.6 GB, free: 8.688 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/0.7065, allocations: 97.89 kB / 1.6 GB, free: 8.59 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.7085, allocations: 1.057 MB / 1.601 GB, free: 7.535 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7154/1.424, allocations: 8.366 MB / 1.609 GB, free: 281.3 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/1.425, allocations: 0.7044 MB / 1.61 GB, free: 281.2 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/1.426, allocations: 295.8 kB / 1.61 GB, free: 281.1 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003896/1.426, allocations: 86.64 kB / 1.61 GB, free: 281.1 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/1.426, allocations: 44.06 kB / 1.61 GB, free: 281.1 MB / 1.295 GB Notification: Performance of pre-optimization done (n=50): time 2.535e-06/1.426, allocations: 0.9688 kB / 1.61 GB, free: 281.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=50): time 0.002241/1.428, allocations: 0.9886 MB / 1.611 GB, free: 281 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/1.428, allocations: 165.8 kB / 1.612 GB, free: 280.9 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005684/1.434, allocations: 4.698 MB / 1.616 GB, free: 279.8 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 6.1e-05/1.434, allocations: 33.52 kB / 1.616 GB, free: 279.8 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007572/1.435, allocations: 1.08 MB / 1.617 GB, free: 279 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/1.435, allocations: 189.1 kB / 1.617 GB, free: 278.9 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/1.435, allocations: 96.88 kB / 1.618 GB, free: 278.8 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.238e-05/1.435, allocations: 327.2 kB / 1.618 GB, free: 278.5 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004537/1.436, allocations: 218.6 kB / 1.618 GB, free: 278.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006026/1.436, allocations: 330.4 kB / 1.618 GB, free: 278.3 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/1.437, allocations: 0.5479 MB / 1.619 GB, free: 278.1 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/1.437, allocations: 1.188 kB / 1.619 GB, free: 278.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00163/1.439, allocations: 0.8209 MB / 1.62 GB, free: 277.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/1.439, allocations: 8.359 kB / 1.62 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.439, allocations: 2.094 kB / 1.62 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/1.439, allocations: 7.844 kB / 1.62 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/1.44, allocations: 107.5 kB / 1.62 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/1.44, allocations: 5.125 kB / 1.62 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008685/1.44, allocations: 99.02 kB / 1.62 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/1.44, allocations: 21.64 kB / 1.62 GB, free: 277.8 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.000962/1.441, allocations: 0.546 MB / 1.62 GB, free: 277.5 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004543/1.442, allocations: 243.8 kB / 1.621 GB, free: 277.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/1.443, allocations: 0.8018 MB / 1.621 GB, free: 277.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/1.443, allocations: 8.312 kB / 1.622 GB, free: 277.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.443, allocations: 1.797 kB / 1.622 GB, free: 277.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/1.443, allocations: 4.125 kB / 1.622 GB, free: 277.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003022/1.446, allocations: 2.072 MB / 1.624 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/1.446, allocations: 1.188 kB / 1.624 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/1.447, allocations: 98.17 kB / 1.624 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/1.447, allocations: 3 kB / 1.624 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/1.447, allocations: 19.64 kB / 1.624 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/1.447, allocations: 8.172 kB / 1.624 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.447, allocations: 2 kB / 1.624 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/1.448, allocations: 1.282 MB / 1.625 GB, free: 275.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006955/1.449, allocations: 361.1 kB / 1.625 GB, free: 275.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/1.449, allocations: 13.27 kB / 1.625 GB, free: 275.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006462/1.45, allocations: 20.45 kB / 1.625 GB, free: 275.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.51e-05/1.45, allocations: 47.78 kB / 1.625 GB, free: 275.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/1.45, allocations: 17.53 kB / 1.625 GB, free: 275.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003817/1.454, allocations: 3.516 MB / 1.629 GB, free: 274.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.6e-07/1.454, allocations: 0 / 1.629 GB, free: 274.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001209/1.455, allocations: 475.7 kB / 1.629 GB, free: 274.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.003396/1.459, allocations: 2.246 MB / 1.631 GB, free: 273 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0009405/1.46, allocations: 0.5272 MB / 1.632 GB, free: 272.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.46, allocations: 3.719 kB / 1.632 GB, free: 272.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004145/1.46, allocations: 279.4 kB / 1.632 GB, free: 272.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003628/1.464, allocations: 0.8647 MB / 1.633 GB, free: 272.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0218/1.485, allocations: 19.42 MB / 1.652 GB, free: 261 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/1.487, allocations: 1.64 MB / 1.654 GB, free: 259.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001419/1.488, allocations: 470.1 kB / 1.654 GB, free: 258.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000928/1.489, allocations: 0.9445 MB / 1.655 GB, free: 257.9 MB / 1.295 GB Notification: Performance of SimCode: time 8.31e-07/1.489, allocations: 0 / 1.655 GB, free: 257.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07786/1.567, allocations: 47.27 MB / 1.701 GB, free: 211.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.68/18.25, allocations: 9.281 kB / 1.701 GB, free: 211.3 MB / 1.295 GB " [Timeout remaining time 282] (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/jenkins1/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: 24.968264703988098]