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.001573/0.001573, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001696/0.001696, allocations: 217.3 kB / 23.03 MB, free: 4.922 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.095/3.095, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.001946/0.001946, allocations: 69.56 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3426, allocations: 176.1 MB / 1.327 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2327/0.5753, allocations: 193.2 MB / 1.515 GB, free: 15.55 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03342/0.6087, allocations: 24.31 MB / 1.539 GB, free: 7.172 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.6106, allocations: 43.62 kB / 1.539 GB, free: 7.129 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00329/0.6139, allocations: 1.131 MB / 1.54 GB, free: 5.992 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.008843/0.6228, allocations: 3.227 MB / 1.543 GB, free: 2.754 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004821/0.6276, allocations: 1.738 MB / 1.545 GB, free: 1.02 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.005783/0.6334, allocations: 3.845 MB / 1.549 GB, free: 13.16 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002407/0.6358, allocations: 1.133 MB / 1.55 GB, free: 12 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005562/0.6413, allocations: 2.386 MB / 1.552 GB, free: 9.602 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002963/0.6443, allocations: 1.541 MB / 1.554 GB, free: 8.055 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0005469/0.6448, allocations: 124 kB / 1.554 GB, free: 7.934 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004461/0.6493, allocations: 1.605 MB / 1.555 GB, free: 6.324 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001481/0.6508, allocations: 0.8682 MB / 1.556 GB, free: 5.453 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002625/0.6534, allocations: 0.9597 MB / 1.557 GB, free: 4.488 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.007043/0.6605, allocations: 3.042 MB / 1.56 GB, free: 1.434 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.6605, allocations: 0 / 1.56 GB, free: 1.434 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6605, allocations: 0 / 1.56 GB, free: 1.434 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001356/0.6606, allocations: 0 / 1.56 GB, free: 1.434 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.006913/0.6675, allocations: 2.885 MB / 1.563 GB, free: 14.5 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.6676, allocations: 8.031 kB / 1.563 GB, free: 14.49 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.351e-05/0.6676, allocations: 34.53 kB / 1.563 GB, free: 14.46 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003652/0.668, allocations: 202.6 kB / 1.563 GB, free: 14.25 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/0.6701, allocations: 465.8 kB / 1.564 GB, free: 13.79 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00428/0.6744, allocations: 2.706 MB / 1.566 GB, free: 11.03 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.6745, allocations: 98.52 kB / 1.566 GB, free: 10.93 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/0.6748, allocations: 124 kB / 1.567 GB, free: 10.81 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/0.6778, allocations: 1.595 MB / 1.568 GB, free: 9.074 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.496e-05/0.6778, allocations: 7.938 kB / 1.568 GB, free: 9.066 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.678, allocations: 56 kB / 1.568 GB, free: 9.012 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001287/0.6781, allocations: 97.83 kB / 1.568 GB, free: 8.914 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/0.6801, allocations: 1.061 MB / 1.569 GB, free: 7.855 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008507/0.6886, allocations: 6.854 MB / 1.576 GB, free: 0.7852 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.6897, allocations: 0.709 MB / 1.577 GB, free: 32 kB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004767/0.6902, allocations: 296.1 kB / 1.577 GB, free: 15.73 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003403/0.6905, allocations: 91.94 kB / 1.577 GB, free: 15.64 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.6906, allocations: 46.48 kB / 1.577 GB, free: 15.58 MB / 1.279 GB Notification: Performance of pre-optimization done (n=50): time 2.555e-06/0.6906, allocations: 0 / 1.577 GB, free: 15.58 MB / 1.279 GB Notification: Performance of matching and sorting (n=50): time 0.001827/0.6924, allocations: 0.9857 MB / 1.578 GB, free: 14.59 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.6925, allocations: 158.2 kB / 1.578 GB, free: 14.4 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005897/0.6984, allocations: 4.706 MB / 1.583 GB, free: 9.684 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 7.801e-05/0.6985, allocations: 37.81 kB / 1.583 GB, free: 9.641 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.6995, allocations: 1.075 MB / 1.584 GB, free: 8.559 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.6997, allocations: 190.4 kB / 1.584 GB, free: 8.371 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.6999, allocations: 94.14 kB / 1.584 GB, free: 8.273 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.7, allocations: 322 kB / 1.584 GB, free: 7.953 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.7004, allocations: 224.8 kB / 1.585 GB, free: 7.734 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005278/0.7009, allocations: 377.7 kB / 1.585 GB, free: 7.316 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008732/0.7018, allocations: 0.5561 MB / 1.586 GB, free: 6.727 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.7018, allocations: 0 / 1.586 GB, free: 6.727 MB / 1.279 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001552/0.7034, allocations: 0.8197 MB / 1.586 GB, free: 5.898 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.7034, allocations: 9.719 kB / 1.586 GB, free: 5.891 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.7034, allocations: 0 / 1.586 GB, free: 5.891 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/0.7034, allocations: 8.25 kB / 1.586 GB, free: 5.883 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.7039, allocations: 107.8 kB / 1.586 GB, free: 5.777 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.7039, allocations: 4 kB / 1.586 GB, free: 5.773 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008914/0.7048, allocations: 99.17 kB / 1.587 GB, free: 5.676 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.7048, allocations: 16 kB / 1.587 GB, free: 5.66 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.0008431/0.7057, allocations: 0.5482 MB / 1.587 GB, free: 5.102 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004172/0.7061, allocations: 246.3 kB / 1.587 GB, free: 4.859 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/0.7074, allocations: 0.8042 MB / 1.588 GB, free: 4.047 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.7074, allocations: 12 kB / 1.588 GB, free: 4.035 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.7075, allocations: 0 / 1.588 GB, free: 4.035 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.7075, allocations: 3.984 kB / 1.588 GB, free: 4.031 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/0.7105, allocations: 1.916 MB / 1.59 GB, free: 2.043 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.7105, allocations: 4 kB / 1.59 GB, free: 2.039 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/0.711, allocations: 103.8 kB / 1.59 GB, free: 1.938 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.711, allocations: 8.188 kB / 1.59 GB, free: 1.93 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.711, allocations: 12 kB / 1.59 GB, free: 1.918 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.711, allocations: 4 kB / 1.59 GB, free: 1.914 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.711, allocations: 7.938 kB / 1.59 GB, free: 1.906 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.7129, allocations: 1.283 MB / 1.591 GB, free: 0.5898 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000733/0.7136, allocations: 362.1 kB / 1.592 GB, free: 240 kB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002495/0.7138, allocations: 12.09 kB / 1.592 GB, free: 228 kB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006809/0.7145, allocations: 35.92 kB / 1.592 GB, free: 192 kB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.559e-05/0.7146, allocations: 44.34 kB / 1.592 GB, free: 148 kB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.7146, allocations: 16 kB / 1.592 GB, free: 132 kB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004195/0.7188, allocations: 3.51 MB / 1.595 GB, free: 12.61 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/0.7188, allocations: 0 / 1.595 GB, free: 12.61 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00123/0.7201, allocations: 479.1 kB / 1.596 GB, free: 12.14 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.003899/0.724, allocations: 2.261 MB / 1.598 GB, free: 9.988 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.000976/0.7249, allocations: 0.5293 MB / 1.598 GB, free: 9.461 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.725, allocations: 7.938 kB / 1.598 GB, free: 9.453 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.7254, allocations: 274.3 kB / 1.599 GB, free: 9.188 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00353/0.7289, allocations: 0.8572 MB / 1.6 GB, free: 8.332 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7/1.429, allocations: 19.42 MB / 1.619 GB, free: 276.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/1.43, allocations: 1.065 MB / 1.62 GB, free: 276.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001452/1.432, allocations: 465.1 kB / 1.62 GB, free: 276.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009162/1.433, allocations: 0.9431 MB / 1.621 GB, free: 275.5 MB / 1.295 GB Notification: Performance of SimCode: time 9.32e-07/1.433, allocations: 3.938 kB / 1.621 GB, free: 275.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08042/1.513, allocations: 49.69 MB / 1.669 GB, free: 241.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.24/18.75, allocations: 3.938 kB / 1.669 GB, free: 241.8 MB / 1.295 GB " [Timeout remaining time 281] (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: 25.477679880918004]