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.001774/0.001774, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002134/0.002134, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.455/1.455, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.815/2.815, allocations: 0.49 GB / 0.7923 GB, free: 1.281 MB / 0.6231 GB " [Timeout remaining time 176] 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.001949/0.001949, allocations: 67.91 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9521/0.954, allocations: 176.1 MB / 1.321 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2652/1.219, allocations: 222.1 MB / 1.538 GB, free: 11.12 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03439/1.254, allocations: 26.78 MB / 1.565 GB, free: 260 kB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002273/1.256, allocations: 43.69 kB / 1.565 GB, free: 216 kB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003454/1.259, allocations: 1.197 MB / 1.566 GB, free: 15 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.008481/1.268, allocations: 3.24 MB / 1.569 GB, free: 11.75 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.004424/1.272, allocations: 1.674 MB / 1.571 GB, free: 10.08 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005497/1.278, allocations: 3.814 MB / 1.574 GB, free: 6.262 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/1.28, allocations: 1.237 MB / 1.575 GB, free: 4.992 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004881/1.285, allocations: 2.37 MB / 1.578 GB, free: 2.613 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002524/1.287, allocations: 1.537 MB / 1.579 GB, free: 1.07 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003015/1.287, allocations: 124 kB / 1.579 GB, free: 0.9492 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004593/1.292, allocations: 1.882 MB / 1.581 GB, free: 15.06 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0009343/1.293, allocations: 0.8605 MB / 1.582 GB, free: 14.2 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001668/1.295, allocations: 1.177 MB / 1.583 GB, free: 13.02 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.005749/1.3, allocations: 3.039 MB / 1.586 GB, free: 9.965 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.3, allocations: 4 kB / 1.586 GB, free: 9.961 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.194e-06/1.3, allocations: 7.875 kB / 1.586 GB, free: 9.953 MB / 1.264 GB Notification: Performance of Transformations before backend: time 4.38e-05/1.3, allocations: 0 / 1.586 GB, free: 9.953 MB / 1.264 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.004838/1.305, allocations: 2.948 MB / 1.589 GB, free: 6.938 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/1.305, allocations: 11.98 kB / 1.589 GB, free: 6.926 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.193e-05/1.305, allocations: 34.53 kB / 1.589 GB, free: 6.891 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002203/1.306, allocations: 206.5 kB / 1.589 GB, free: 6.68 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001861/1.308, allocations: 461.8 kB / 1.59 GB, free: 6.227 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003654/1.311, allocations: 2.786 MB / 1.592 GB, free: 3.371 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-05/1.311, allocations: 98.53 kB / 1.593 GB, free: 3.273 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/1.311, allocations: 132 kB / 1.593 GB, free: 3.145 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/1.314, allocations: 1.591 MB / 1.594 GB, free: 1.41 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/1.314, allocations: 11.89 kB / 1.594 GB, free: 1.398 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/1.314, allocations: 56 kB / 1.594 GB, free: 1.344 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/1.314, allocations: 89.89 kB / 1.594 GB, free: 1.254 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/1.316, allocations: 1.067 MB / 1.595 GB, free: 196 kB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008601/1.325, allocations: 8.461 MB / 1.604 GB, free: 7.227 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/1.326, allocations: 0.7113 MB / 1.604 GB, free: 6.469 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/1.326, allocations: 292.1 kB / 1.605 GB, free: 6.168 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006176/1.327, allocations: 0.6013 MB / 1.605 GB, free: 5.438 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/1.327, allocations: 50.84 kB / 1.605 GB, free: 5.379 MB / 1.279 GB Notification: Performance of pre-optimization done (n=50): time 2.255e-06/1.327, allocations: 3.938 kB / 1.605 GB, free: 5.375 MB / 1.279 GB Notification: Performance of matching and sorting (n=50): time 0.001785/1.328, allocations: 0.9799 MB / 1.606 GB, free: 4.387 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/1.329, allocations: 174.7 kB / 1.606 GB, free: 4.18 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005643/1.334, allocations: 4.698 MB / 1.611 GB, free: 15.47 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 6.048e-05/1.334, allocations: 33.7 kB / 1.611 GB, free: 15.43 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009605/1.335, allocations: 1.075 MB / 1.612 GB, free: 14.35 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/1.335, allocations: 190.4 kB / 1.612 GB, free: 14.16 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/1.336, allocations: 94.2 kB / 1.612 GB, free: 14.07 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.336, allocations: 326 kB / 1.613 GB, free: 13.74 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/1.336, allocations: 225 kB / 1.613 GB, free: 13.52 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/1.337, allocations: 318.9 kB / 1.613 GB, free: 13.18 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008752/1.337, allocations: 0.561 MB / 1.614 GB, free: 12.59 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/1.337, allocations: 0 / 1.614 GB, free: 12.59 MB / 1.295 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001419/1.339, allocations: 0.8158 MB / 1.615 GB, free: 11.76 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.339, allocations: 8 kB / 1.615 GB, free: 11.75 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.339, allocations: 4 kB / 1.615 GB, free: 11.75 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/1.339, allocations: 8.25 kB / 1.615 GB, free: 11.74 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/1.339, allocations: 99.89 kB / 1.615 GB, free: 11.64 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/1.339, allocations: 11.88 kB / 1.615 GB, free: 11.63 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/1.34, allocations: 99.17 kB / 1.615 GB, free: 11.54 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.657e-05/1.34, allocations: 23.98 kB / 1.615 GB, free: 11.51 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.0007339/1.341, allocations: 0.5366 MB / 1.615 GB, free: 10.96 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003784/1.341, allocations: 254.3 kB / 1.616 GB, free: 10.71 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/1.343, allocations: 0.8003 MB / 1.616 GB, free: 9.906 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/1.343, allocations: 8 kB / 1.616 GB, free: 9.898 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/1.343, allocations: 0 / 1.616 GB, free: 9.898 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/1.343, allocations: 7.984 kB / 1.616 GB, free: 9.891 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/1.346, allocations: 2.092 MB / 1.618 GB, free: 7.719 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.346, allocations: 0 / 1.618 GB, free: 7.719 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/1.346, allocations: 95.89 kB / 1.619 GB, free: 7.625 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/1.346, allocations: 4 kB / 1.619 GB, free: 7.621 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/1.346, allocations: 19.98 kB / 1.619 GB, free: 7.602 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/1.346, allocations: 7.938 kB / 1.619 GB, free: 7.594 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.346, allocations: 3.938 kB / 1.619 GB, free: 7.59 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/1.348, allocations: 1.284 MB / 1.62 GB, free: 6.27 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007075/1.349, allocations: 431.2 kB / 1.62 GB, free: 5.828 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/1.349, allocations: 19.94 kB / 1.62 GB, free: 5.809 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006383/1.35, allocations: 23.92 kB / 1.62 GB, free: 5.785 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/1.35, allocations: 32.39 kB / 1.62 GB, free: 5.754 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/1.35, allocations: 20 kB / 1.62 GB, free: 5.734 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00412/1.354, allocations: 3.514 MB / 1.624 GB, free: 2.215 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.81e-07/1.354, allocations: 7.938 kB / 1.624 GB, free: 2.207 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001243/1.355, allocations: 483.1 kB / 1.624 GB, free: 1.734 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.003762/1.359, allocations: 2.235 MB / 1.626 GB, free: 15.58 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.001004/1.36, allocations: 0.5218 MB / 1.627 GB, free: 15.06 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.36, allocations: 8.188 kB / 1.627 GB, free: 15.05 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0004512/1.36, allocations: 278.3 kB / 1.627 GB, free: 14.79 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003915/1.364, allocations: 0.8623 MB / 1.628 GB, free: 13.93 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02916/1.393, allocations: 19.43 MB / 1.647 GB, free: 10.22 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/1.395, allocations: 1.642 MB / 1.649 GB, free: 8.551 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.001305/1.396, allocations: 474.1 kB / 1.649 GB, free: 8.086 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/1.397, allocations: 0.9406 MB / 1.65 GB, free: 7.145 MB / 1.326 GB Notification: Performance of SimCode: time 1.072e-06/1.397, allocations: 0 / 1.65 GB, free: 7.145 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09583/1.493, allocations: 46.87 MB / 1.696 GB, free: 8.789 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/15.43, allocations: 12 kB / 1.696 GB, free: 8.777 MB / 1.373 GB " [Timeout remaining time 284] (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: 21.841558440006338]