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.00169/0.00169, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002133/0.002133, allocations: 213 kB / 22.25 MB, free: 5.086 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 8.02 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.209/3.209, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_latest_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.002124/0.002124, allocations: 72.3 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3361, allocations: 180.2 MB / 1.353 GB, free: 8.461 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2533/0.5894, allocations: 222.7 MB / 1.57 GB, free: 8.922 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.03411/0.6235, allocations: 27.11 MB / 1.597 GB, free: 13.73 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002428/0.6259, allocations: 43.69 kB / 1.597 GB, free: 13.68 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.003427/0.6293, allocations: 1.189 MB / 1.598 GB, free: 12.49 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.009588/0.6389, allocations: 3.383 MB / 1.601 GB, free: 9.094 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.005186/0.6441, allocations: 1.726 MB / 1.603 GB, free: 7.371 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.005904/0.65, allocations: 3.927 MB / 1.607 GB, free: 3.434 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002173/0.6522, allocations: 1.16 MB / 1.608 GB, free: 2.238 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7512/1.403, allocations: 2.42 MB / 1.61 GB, free: 8.492 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002866/1.406, allocations: 1.583 MB / 1.612 GB, free: 8.492 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0004153/1.407, allocations: 132.3 kB / 1.612 GB, free: 8.492 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004468/1.411, allocations: 1.96 MB / 1.614 GB, free: 8.492 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001235/1.412, allocations: 0.8847 MB / 1.615 GB, free: 8.492 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.002034/1.414, allocations: 1.203 MB / 1.616 GB, free: 8.492 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.005635/1.42, allocations: 3.117 MB / 1.619 GB, free: 8.258 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.42, allocations: 0 / 1.619 GB, free: 8.258 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.853e-06/1.42, allocations: 0.6562 kB / 1.619 GB, free: 8.258 MB / 1.295 GB Notification: Performance of Transformations before backend: time 6.925e-05/1.42, allocations: 1.375 kB / 1.619 GB, free: 8.258 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.005222/1.425, allocations: 2.921 MB / 1.622 GB, free: 6.781 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/1.425, allocations: 8.969 kB / 1.622 GB, free: 6.781 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002427/1.426, allocations: 202.1 kB / 1.622 GB, free: 6.738 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004198/1.43, allocations: 0.7265 MB / 1.623 GB, free: 6.578 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004418/1.434, allocations: 2.74 MB / 1.625 GB, free: 6.059 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/1.434, allocations: 93.84 kB / 1.626 GB, free: 6.055 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002483/1.435, allocations: 123 kB / 1.626 GB, free: 6.055 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003006/1.438, allocations: 1.793 MB / 1.627 GB, free: 5.66 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/1.438, allocations: 12.58 kB / 1.627 GB, free: 5.656 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/1.438, allocations: 55.91 kB / 1.627 GB, free: 5.656 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.99e-05/1.438, allocations: 96.44 kB / 1.628 GB, free: 5.652 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/1.441, allocations: 1.361 MB / 1.629 GB, free: 5.645 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01033/1.451, allocations: 8.719 MB / 1.637 GB, free: 16.38 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/1.454, allocations: 1.133 MB / 1.639 GB, free: 16.25 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/1.455, allocations: 451.7 kB / 1.639 GB, free: 16.21 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 9.246e-05/1.455, allocations: 30.09 kB / 1.639 GB, free: 16.21 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/1.455, allocations: 45.56 kB / 1.639 GB, free: 16.17 MB / 1.311 GB Notification: Performance of pre-optimization done (n=50): time 2.435e-06/1.455, allocations: 3.094 kB / 1.639 GB, free: 16.17 MB / 1.311 GB Notification: Performance of matching and sorting (n=50): time 0.003796/1.459, allocations: 1.42 MB / 1.64 GB, free: 15.99 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.048e-05/1.459, allocations: 176.7 kB / 1.641 GB, free: 15.8 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006076/1.465, allocations: 4.725 MB / 1.645 GB, free: 15.56 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/1.465, allocations: 32.39 kB / 1.645 GB, free: 15.53 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008512/1.466, allocations: 1.083 MB / 1.646 GB, free: 15.32 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/1.466, allocations: 190.5 kB / 1.646 GB, free: 15.2 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/1.466, allocations: 102.2 kB / 1.647 GB, free: 15.18 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.466, allocations: 328.2 kB / 1.647 GB, free: 14.87 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009348/1.467, allocations: 371.3 kB / 1.647 GB, free: 14.87 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000936/1.468, allocations: 476.8 kB / 1.648 GB, free: 14.78 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/1.47, allocations: 0.8216 MB / 1.648 GB, free: 14.69 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.47, allocations: 1.594 kB / 1.648 GB, free: 14.69 MB / 1.311 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002771/1.473, allocations: 1.114 MB / 1.65 GB, free: 14.51 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/1.473, allocations: 7.406 kB / 1.65 GB, free: 14.51 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/1.473, allocations: 2.531 kB / 1.65 GB, free: 14.51 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/1.473, allocations: 8.312 kB / 1.65 GB, free: 14.51 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008763/1.474, allocations: 162.8 kB / 1.65 GB, free: 14.51 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/1.474, allocations: 8.375 kB / 1.65 GB, free: 14.51 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/1.475, allocations: 137.9 kB / 1.65 GB, free: 14.45 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-05/1.476, allocations: 25.53 kB / 1.65 GB, free: 14.45 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.001308/1.477, allocations: 0.5458 MB / 1.65 GB, free: 14.33 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006923/1.478, allocations: 249.6 kB / 1.651 GB, free: 14.2 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/1.48, allocations: 1.09 MB / 1.652 GB, free: 14.12 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/1.48, allocations: 7.562 kB / 1.652 GB, free: 14.12 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.48, allocations: 3.188 kB / 1.652 GB, free: 14.12 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/1.48, allocations: 7.75 kB / 1.652 GB, free: 14.12 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003996/1.484, allocations: 2.269 MB / 1.654 GB, free: 13.53 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/1.484, allocations: 0 / 1.654 GB, free: 13.53 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008977/1.485, allocations: 147.5 kB / 1.654 GB, free: 13.52 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/1.485, allocations: 3.531 kB / 1.654 GB, free: 13.52 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/1.485, allocations: 20.89 kB / 1.654 GB, free: 13.52 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/1.485, allocations: 10.61 kB / 1.654 GB, free: 13.52 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.485, allocations: 1.719 kB / 1.654 GB, free: 13.52 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003485/1.489, allocations: 1.768 MB / 1.656 GB, free: 13.18 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.49, allocations: 378.3 kB / 1.656 GB, free: 13.05 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003076/1.49, allocations: 11.88 kB / 1.656 GB, free: 13.05 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.491, allocations: 58.12 kB / 1.656 GB, free: 13.05 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.491, allocations: 52.59 kB / 1.656 GB, free: 13.04 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/1.491, allocations: 23.66 kB / 1.656 GB, free: 13.04 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.003511/1.495, allocations: 3.532 MB / 1.66 GB, free: 12.89 MB / 1.311 GB Notification: Performance of sort global known variables: time 3.31e-07/1.495, allocations: 1.062 kB / 1.66 GB, free: 12.89 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001539/1.496, allocations: 0.4891 MB / 1.66 GB, free: 12.84 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 (50): * Single equations (assignments): 50 * 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.005022/1.501, allocations: 2.707 MB / 1.663 GB, free: 11.94 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.001917/1.503, allocations: 0.8327 MB / 1.664 GB, free: 11.92 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.503, allocations: 0 / 1.664 GB, free: 11.92 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0008913/1.504, allocations: 435.5 kB / 1.664 GB, free: 11.92 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003954/1.508, allocations: 0.8826 MB / 1.665 GB, free: 11.79 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02796/1.536, allocations: 20.56 MB / 1.685 GB, free: 8.453 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/1.537, allocations: 1.642 MB / 1.687 GB, free: 7.711 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001739/1.539, allocations: 478 kB / 1.687 GB, free: 7.621 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/1.54, allocations: 0.9379 MB / 1.688 GB, free: 7.613 MB / 1.311 GB Notification: Performance of SimCode: time 7.72e-07/1.54, allocations: 0 / 1.688 GB, free: 7.613 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.106/1.646, allocations: 50.61 MB / 1.738 GB, free: 15.59 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.65/18.3, allocations: 13.8 kB / 1.738 GB, free: 15.59 MB / 1.342 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.093713174806908]