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.001544/0.001544, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002818/0.002818, allocations: 217.8 kB / 23.04 MB, free: 5.078 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.211/3.211, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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.001892/0.001892, allocations: 67.05 kB / 1.171 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3496, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2673/0.6169, allocations: 222.6 MB / 1.563 GB, free: 1.004 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.03523/0.6521, allocations: 26.92 MB / 1.589 GB, free: 6.004 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.654, allocations: 51.62 kB / 1.589 GB, free: 5.953 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002864/0.6568, allocations: 1.189 MB / 1.59 GB, free: 4.758 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.008546/0.6654, allocations: 3.282 MB / 1.593 GB, free: 1.465 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.004666/0.6701, allocations: 1.729 MB / 1.595 GB, free: 15.74 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.006268/0.6763, allocations: 3.853 MB / 1.599 GB, free: 11.87 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002384/0.6787, allocations: 1.133 MB / 1.6 GB, free: 10.71 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005322/0.684, allocations: 2.394 MB / 1.602 GB, free: 8.305 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002759/0.6868, allocations: 1.549 MB / 1.604 GB, free: 6.75 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0004512/0.6872, allocations: 124 kB / 1.604 GB, free: 6.629 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004401/0.6916, allocations: 1.913 MB / 1.606 GB, free: 4.711 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.6928, allocations: 0.8683 MB / 1.607 GB, free: 3.84 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.003001/0.6958, allocations: 1.177 MB / 1.608 GB, free: 2.656 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.7967/1.492, allocations: 3.029 MB / 1.611 GB, free: 15.47 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/1.493, allocations: 0.875 kB / 1.611 GB, free: 15.47 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.515e-06/1.493, allocations: 0 / 1.611 GB, free: 15.47 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001194/1.493, allocations: 0.75 kB / 1.611 GB, free: 15.47 MB / 1.295 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.005842/1.498, allocations: 2.889 MB / 1.614 GB, free: 14.02 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 7.044e-05/1.499, allocations: 11.19 kB / 1.614 GB, free: 14.02 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.905e-05/1.499, allocations: 33.59 kB / 1.614 GB, free: 14.01 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003271/1.499, allocations: 199 kB / 1.614 GB, free: 13.97 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/1.501, allocations: 463.7 kB / 1.614 GB, free: 13.81 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004811/1.506, allocations: 2.701 MB / 1.617 GB, free: 13.29 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.846e-05/1.506, allocations: 97.94 kB / 1.617 GB, free: 13.29 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/1.507, allocations: 128.8 kB / 1.617 GB, free: 13.29 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002747/1.509, allocations: 1.595 MB / 1.619 GB, free: 12.9 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.734e-05/1.509, allocations: 7.609 kB / 1.619 GB, free: 12.9 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/1.509, allocations: 55.55 kB / 1.619 GB, free: 12.9 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/1.51, allocations: 94.7 kB / 1.619 GB, free: 12.9 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/1.511, allocations: 1.061 MB / 1.62 GB, free: 12.89 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00928/1.521, allocations: 8.374 MB / 1.628 GB, free: 23.66 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/1.522, allocations: 0.7038 MB / 1.629 GB, free: 23.53 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006075/1.523, allocations: 295.2 kB / 1.629 GB, free: 23.49 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004082/1.523, allocations: 87.36 kB / 1.629 GB, free: 23.49 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/1.523, allocations: 39.72 kB / 1.629 GB, free: 23.45 MB / 1.311 GB Notification: Performance of pre-optimization done (n=50): time 4.318e-06/1.523, allocations: 5.469 kB / 1.629 GB, free: 23.45 MB / 1.311 GB Notification: Performance of matching and sorting (n=50): time 0.002328/1.525, allocations: 0.9883 MB / 1.63 GB, free: 23.28 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/1.526, allocations: 165.3 kB / 1.63 GB, free: 23.09 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006225/1.532, allocations: 4.702 MB / 1.635 GB, free: 22.87 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/1.532, allocations: 35.83 kB / 1.635 GB, free: 22.84 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007934/1.533, allocations: 1.08 MB / 1.636 GB, free: 22.62 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/1.533, allocations: 187.1 kB / 1.636 GB, free: 22.5 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/1.533, allocations: 96.95 kB / 1.636 GB, free: 22.48 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.533, allocations: 325.5 kB / 1.637 GB, free: 22.18 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/1.534, allocations: 221 kB / 1.637 GB, free: 22.18 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004608/1.534, allocations: 320.4 kB / 1.637 GB, free: 22.08 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008049/1.535, allocations: 0.5565 MB / 1.638 GB, free: 21.99 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.535, allocations: 1.25 kB / 1.638 GB, free: 21.99 MB / 1.311 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001537/1.536, allocations: 0.8119 MB / 1.638 GB, free: 21.82 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.536, allocations: 7.938 kB / 1.638 GB, free: 21.82 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.536, allocations: 2.594 kB / 1.638 GB, free: 21.82 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/1.536, allocations: 9.156 kB / 1.638 GB, free: 21.81 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/1.537, allocations: 105.4 kB / 1.638 GB, free: 21.81 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/1.537, allocations: 10.45 kB / 1.638 GB, free: 21.81 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/1.538, allocations: 104.8 kB / 1.639 GB, free: 21.75 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/1.538, allocations: 25.92 kB / 1.639 GB, free: 21.75 MB / 1.311 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.0008349/1.539, allocations: 0.5386 MB / 1.639 GB, free: 21.64 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003602/1.539, allocations: 244.9 kB / 1.639 GB, free: 21.5 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/1.54, allocations: 0.804 MB / 1.64 GB, free: 21.43 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/1.541, allocations: 5.875 kB / 1.64 GB, free: 21.43 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.541, allocations: 2.562 kB / 1.64 GB, free: 21.43 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/1.541, allocations: 5.188 kB / 1.64 GB, free: 21.43 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003385/1.544, allocations: 2.064 MB / 1.642 GB, free: 20.85 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.544, allocations: 3.469 kB / 1.642 GB, free: 20.85 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/1.544, allocations: 103.3 kB / 1.642 GB, free: 20.85 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/1.544, allocations: 5.031 kB / 1.642 GB, free: 20.85 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/1.544, allocations: 15.09 kB / 1.642 GB, free: 20.85 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/1.544, allocations: 3.719 kB / 1.642 GB, free: 20.85 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.544, allocations: 4.016 kB / 1.642 GB, free: 20.85 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/1.546, allocations: 1.289 MB / 1.644 GB, free: 20.51 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008321/1.547, allocations: 355.8 kB / 1.644 GB, free: 20.37 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/1.547, allocations: 12.03 kB / 1.644 GB, free: 20.37 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006647/1.548, allocations: 22.16 kB / 1.644 GB, free: 20.37 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.827e-05/1.548, allocations: 46.95 kB / 1.644 GB, free: 20.36 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/1.548, allocations: 18.08 kB / 1.644 GB, free: 20.36 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.004105/1.552, allocations: 3.513 MB / 1.647 GB, free: 20.22 MB / 1.311 GB Notification: Performance of sort global known variables: time 8e-08/1.552, allocations: 0 / 1.647 GB, free: 20.22 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001558/1.554, allocations: 477.9 kB / 1.648 GB, free: 20.16 MB / 1.311 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.003786/1.558, allocations: 2.262 MB / 1.65 GB, free: 19.24 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0009372/1.558, allocations: 0.5244 MB / 1.651 GB, free: 19.23 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.558, allocations: 0 / 1.651 GB, free: 19.23 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0003972/1.559, allocations: 284.5 kB / 1.651 GB, free: 19.23 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/1.563, allocations: 0.8542 MB / 1.652 GB, free: 19.11 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02348/1.586, allocations: 19.42 MB / 1.671 GB, free: 15.87 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/1.587, allocations: 1.638 MB / 1.672 GB, free: 15.13 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001461/1.589, allocations: 473.4 kB / 1.673 GB, free: 15.04 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/1.59, allocations: 0.9446 MB / 1.674 GB, free: 15.03 MB / 1.311 GB Notification: Performance of SimCode: time 1.122e-06/1.59, allocations: 4 kB / 1.674 GB, free: 15.03 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08552/1.675, allocations: 47.26 MB / 1.72 GB, free: 3.277 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/18.23, allocations: 10.42 kB / 1.72 GB, free: 3.273 MB / 1.311 GB " [Timeout remaining time 282] (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.282880860031582]