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.00164/0.00164, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002181/0.002181, allocations: 221.8 kB / 22.25 MB, free: 5.102 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.385/1.385, allocations: 230.6 MB / 256 MB, free: 7.793 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.982/2.982, allocations: 0.49 GB / 0.7951 GB, free: 35.42 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="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: 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.003376/0.003376, allocations: 62.92 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3287, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2218/0.5506, allocations: 193.4 MB / 1.515 GB, free: 15.4 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03007/0.5806, allocations: 24.33 MB / 1.538 GB, free: 6.988 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.5823, allocations: 39.69 kB / 1.538 GB, free: 6.949 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002541/0.5848, allocations: 1.131 MB / 1.54 GB, free: 5.812 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.007498/0.5923, allocations: 3.232 MB / 1.543 GB, free: 2.57 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003993/0.5963, allocations: 1.733 MB / 1.544 GB, free: 0.8398 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004619/0.6009, allocations: 3.852 MB / 1.548 GB, free: 12.98 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.6026, allocations: 1.129 MB / 1.549 GB, free: 11.81 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004298/0.6069, allocations: 2.401 MB / 1.552 GB, free: 9.402 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002271/0.6092, allocations: 1.537 MB / 1.553 GB, free: 7.859 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.6094, allocations: 128 kB / 1.553 GB, free: 7.734 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003286/0.6127, allocations: 1.598 MB / 1.555 GB, free: 6.133 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007996/0.6135, allocations: 0.876 MB / 1.556 GB, free: 5.254 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.6145, allocations: 0.9557 MB / 1.557 GB, free: 4.293 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003776/0.6183, allocations: 3.035 MB / 1.56 GB, free: 1.246 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.6183, allocations: 7.938 kB / 1.56 GB, free: 1.238 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6183, allocations: 0 / 1.56 GB, free: 1.238 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.795e-05/0.6183, allocations: 0 / 1.56 GB, free: 1.238 MB / 1.248 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.00446/0.6228, allocations: 2.877 MB / 1.562 GB, free: 14.31 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.6228, allocations: 16.02 kB / 1.562 GB, free: 14.29 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002151/0.623, allocations: 202.6 kB / 1.563 GB, free: 14.09 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.6248, allocations: 457.8 kB / 1.563 GB, free: 13.64 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003647/0.6284, allocations: 2.71 MB / 1.566 GB, free: 10.87 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.257e-05/0.6285, allocations: 98.47 kB / 1.566 GB, free: 10.77 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.6287, allocations: 128 kB / 1.566 GB, free: 10.65 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/0.631, allocations: 1.591 MB / 1.567 GB, free: 8.914 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/0.631, allocations: 7.938 kB / 1.567 GB, free: 8.906 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.553e-05/0.6311, allocations: 52 kB / 1.568 GB, free: 8.855 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.6312, allocations: 97.89 kB / 1.568 GB, free: 8.758 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.6329, allocations: 1.063 MB / 1.569 GB, free: 7.695 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007484/0.6403, allocations: 6.854 MB / 1.575 GB, free: 0.625 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.6414, allocations: 0.709 MB / 1.576 GB, free: 15.87 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/0.6418, allocations: 292.1 kB / 1.576 GB, free: 15.57 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003388/0.6421, allocations: 99.86 kB / 1.576 GB, free: 15.47 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.6422, allocations: 38.56 kB / 1.576 GB, free: 15.43 MB / 1.279 GB Notification: Performance of pre-optimization done (n=50): time 2.104e-06/0.6422, allocations: 0 / 1.576 GB, free: 15.43 MB / 1.279 GB Notification: Performance of matching and sorting (n=50): time 0.00171/0.6439, allocations: 0.9856 MB / 1.577 GB, free: 14.43 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.644, allocations: 162.2 kB / 1.578 GB, free: 14.24 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00529/0.6493, allocations: 4.706 MB / 1.582 GB, free: 9.523 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-05/0.6493, allocations: 37.7 kB / 1.582 GB, free: 9.48 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009322/0.6503, allocations: 1.071 MB / 1.583 GB, free: 8.402 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.6504, allocations: 190.4 kB / 1.583 GB, free: 8.215 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.6506, allocations: 94.14 kB / 1.584 GB, free: 8.117 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6507, allocations: 326 kB / 1.584 GB, free: 7.793 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.6511, allocations: 217 kB / 1.584 GB, free: 7.582 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.6516, allocations: 381.7 kB / 1.584 GB, free: 7.164 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008069/0.6524, allocations: 0.5599 MB / 1.585 GB, free: 6.57 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.6524, allocations: 0 / 1.585 GB, free: 6.57 MB / 1.279 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001242/0.6536, allocations: 0.812 MB / 1.586 GB, free: 5.75 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.6536, allocations: 13.66 kB / 1.586 GB, free: 5.738 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6536, allocations: 3.984 kB / 1.586 GB, free: 5.734 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.6537, allocations: 8.25 kB / 1.586 GB, free: 5.727 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.6541, allocations: 107.8 kB / 1.586 GB, free: 5.621 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.6541, allocations: 7.984 kB / 1.586 GB, free: 5.613 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007666/0.6548, allocations: 95.19 kB / 1.586 GB, free: 5.52 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.6549, allocations: 23.98 kB / 1.586 GB, free: 5.496 MB / 1.279 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.0006871/0.6556, allocations: 0.5482 MB / 1.587 GB, free: 4.938 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003612/0.6559, allocations: 246.3 kB / 1.587 GB, free: 4.695 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.6572, allocations: 0.7924 MB / 1.588 GB, free: 3.891 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.6572, allocations: 12 kB / 1.588 GB, free: 3.879 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6572, allocations: 0 / 1.588 GB, free: 3.879 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.6572, allocations: 7.984 kB / 1.588 GB, free: 3.871 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/0.6601, allocations: 1.916 MB / 1.589 GB, free: 1.883 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.6601, allocations: 8 kB / 1.589 GB, free: 1.875 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/0.6605, allocations: 99.83 kB / 1.59 GB, free: 1.777 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.6605, allocations: 8.188 kB / 1.59 GB, free: 1.77 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.6606, allocations: 16 kB / 1.59 GB, free: 1.754 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.6606, allocations: 0 / 1.59 GB, free: 1.754 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.6606, allocations: 4 kB / 1.59 GB, free: 1.75 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.6623, allocations: 1.283 MB / 1.591 GB, free: 444 kB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007529/0.663, allocations: 358.1 kB / 1.591 GB, free: 84 kB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/0.6632, allocations: 15.94 kB / 1.591 GB, free: 68 kB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006718/0.6639, allocations: 27.98 kB / 1.591 GB, free: 40 kB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/0.664, allocations: 40.31 kB / 1.591 GB, free: 0 / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/0.664, allocations: 16.05 kB / 1.591 GB, free: 15.98 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003952/0.668, allocations: 3.518 MB / 1.595 GB, free: 12.46 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.668, allocations: 0 / 1.595 GB, free: 12.46 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001056/0.669, allocations: 483.1 kB / 1.595 GB, free: 11.99 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.003586/0.6726, allocations: 2.265 MB / 1.597 GB, free: 9.82 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0008736/0.6735, allocations: 0.5216 MB / 1.598 GB, free: 9.301 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6735, allocations: 0 / 1.598 GB, free: 9.301 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004305/0.6739, allocations: 278.2 kB / 1.598 GB, free: 9.031 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/0.677, allocations: 0.8671 MB / 1.599 GB, free: 8.168 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5956/1.273, allocations: 19.41 MB / 1.618 GB, free: 276.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/1.274, allocations: 1.066 MB / 1.619 GB, free: 276.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001257/1.275, allocations: 470.9 kB / 1.619 GB, free: 276.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008903/1.276, allocations: 0.9415 MB / 1.62 GB, free: 275.6 MB / 1.295 GB Notification: Performance of SimCode: time 9.32e-07/1.276, allocations: 2.531 kB / 1.62 GB, free: 275.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08288/1.359, allocations: 50.68 MB / 1.67 GB, free: 240.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.76, allocations: 14.27 kB / 1.67 GB, free: 240.7 MB / 1.295 GB " [Timeout remaining time 285] (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.107089146011276]