Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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.002523/0.002523, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.003258/0.003258, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.582/1.582, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.04/3.04, allocations: 377.8 MB / 0.6232 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|doo.port_a1.m_flow|doo.port_b2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_b2.m_flow|lea.port_a.m_flow|mNetClo_flow.y",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|doo.port_a1.m_flow|doo.port_b2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_b2.m_flow|lea.port_a.m_flow|mNetClo_flow.y",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8108 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.187e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2724/0.2725, allocations: 196 MB / 1.002 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.2883, allocations: 9.634 MB / 1.012 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.2894, allocations: 27.81 kB / 1.012 GB, free: 3.805 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.2911, allocations: 0.59 MB / 1.012 GB, free: 3.211 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.005792/0.2969, allocations: 2.134 MB / 1.014 GB, free: 1.066 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.2993, allocations: 0.7825 MB / 1.015 GB, free: 288 kB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003225/0.3025, allocations: 2.139 MB / 1.017 GB, free: 14.13 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.3038, allocations: 0.6161 MB / 1.018 GB, free: 13.51 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004315/0.3081, allocations: 1.846 MB / 1.02 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.3094, allocations: 0.6621 MB / 1.02 GB, free: 10.99 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.3095, allocations: 72 kB / 1.02 GB, free: 10.92 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003549/0.3131, allocations: 1.6 MB / 1.022 GB, free: 9.316 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0005396/0.3136, allocations: 382.9 kB / 1.022 GB, free: 8.941 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0005874/0.3142, allocations: 359.2 kB / 1.023 GB, free: 8.59 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.003383/0.3176, allocations: 1.873 MB / 1.024 GB, free: 6.711 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3176, allocations: 0 / 1.024 GB, free: 6.711 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3176, allocations: 0 / 1.024 GB, free: 6.711 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.3176, allocations: 0 / 1.024 GB, free: 6.711 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.004107/0.3217, allocations: 1.546 MB / 1.026 GB, free: 5.121 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3217, allocations: 8.031 kB / 1.026 GB, free: 5.113 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008416/0.3226, allocations: 239.1 kB / 1.026 GB, free: 4.879 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.3237, allocations: 0.5176 MB / 1.027 GB, free: 4.332 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-05/0.3237, allocations: 58 kB / 1.027 GB, free: 4.277 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.3239, allocations: 68 kB / 1.027 GB, free: 4.211 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.3253, allocations: 0.732 MB / 1.027 GB, free: 3.449 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.3254, allocations: 4 kB / 1.027 GB, free: 3.445 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/0.3254, allocations: 28 kB / 1.027 GB, free: 3.418 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.151e-05/0.3255, allocations: 45.98 kB / 1.028 GB, free: 3.375 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.3267, allocations: 0.5114 MB / 1.028 GB, free: 2.863 MB / 0.9792 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005039/0.3318, allocations: 2.597 MB / 1.031 GB, free: 212 kB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008342/0.3326, allocations: 318.4 kB / 1.031 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.3329, allocations: 128.3 kB / 1.031 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004335/0.3333, allocations: 92.25 kB / 1.031 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.3334, allocations: 37.72 kB / 1.031 GB, free: 15.62 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=40): time 1.974e-06/0.3334, allocations: 4 kB / 1.031 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of matching and sorting (n=40): time 0.001315/0.3347, allocations: 461.9 kB / 1.032 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.3347, allocations: 59.41 kB / 1.032 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.3359, allocations: 0.6587 MB / 1.032 GB, free: 14.41 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.3359, allocations: 29.7 kB / 1.032 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/0.3364, allocations: 494.8 kB / 1.033 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.3365, allocations: 142.8 kB / 1.033 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.3367, allocations: 123.7 kB / 1.033 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003634/0.3371, allocations: 0.5664 MB / 1.034 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.3374, allocations: 112.9 kB / 1.034 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/0.3379, allocations: 341.2 kB / 1.034 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007402/0.3386, allocations: 368.1 kB / 1.034 GB, free: 12.14 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.3387, allocations: 4 kB / 1.034 GB, free: 12.14 MB / 0.9948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001019/0.3397, allocations: 452.3 kB / 1.035 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3397, allocations: 10.81 kB / 1.035 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3397, allocations: 0 / 1.035 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.3397, allocations: 4 kB / 1.035 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/0.3402, allocations: 104 kB / 1.035 GB, free: 11.58 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.3403, allocations: 8 kB / 1.035 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.3407, allocations: 47.61 kB / 1.035 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/0.3408, allocations: 23.98 kB / 1.035 GB, free: 11.5 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (57): * Single equations (assignments): 57 * 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.0003457/0.3411, allocations: 232.5 kB / 1.035 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.3413, allocations: 75.58 kB / 1.035 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.3423, allocations: 470.9 kB / 1.036 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3423, allocations: 4 kB / 1.036 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3424, allocations: 0 / 1.036 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.3424, allocations: 3.984 kB / 1.036 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00341/0.3458, allocations: 1.703 MB / 1.037 GB, free: 8.852 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.709e-06/0.3458, allocations: 4.812 kB / 1.037 GB, free: 8.848 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004779/0.3463, allocations: 87.84 kB / 1.037 GB, free: 8.762 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.3463, allocations: 16 kB / 1.038 GB, free: 8.746 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/0.3463, allocations: 12 kB / 1.038 GB, free: 8.734 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.888e-05/0.3463, allocations: 19.86 kB / 1.038 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/0.3463, allocations: 8 kB / 1.038 GB, free: 8.707 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.3478, allocations: 0.9085 MB / 1.038 GB, free: 7.672 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.3481, allocations: 119.5 kB / 1.039 GB, free: 7.555 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.3482, allocations: 19.94 kB / 1.039 GB, free: 7.535 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/0.3486, allocations: 12 kB / 1.039 GB, free: 7.523 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003699/0.349, allocations: 55.75 kB / 1.039 GB, free: 7.469 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.349, allocations: 23.98 kB / 1.039 GB, free: 7.445 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006027/0.3496, allocations: 442.8 kB / 1.039 GB, free: 7.016 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.3496, allocations: 0 / 1.039 GB, free: 7.016 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0009048/0.3505, allocations: 275.3 kB / 1.039 GB, free: 6.746 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.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 (48): * Single equations (assignments): 48 * 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.0004574/0.351, allocations: 215 kB / 1.04 GB, free: 6.523 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0008152/0.3518, allocations: 371.5 kB / 1.04 GB, free: 6.152 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3518, allocations: 0 / 1.04 GB, free: 6.152 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003778/0.3522, allocations: 189.9 kB / 1.04 GB, free: 5.965 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.3537, allocations: 258.3 kB / 1.04 GB, free: 5.711 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.3563, allocations: 1.519 MB / 1.042 GB, free: 4.039 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.3568, allocations: 407.3 kB / 1.042 GB, free: 3.613 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004753/0.3573, allocations: 124.8 kB / 1.042 GB, free: 3.492 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.3575, allocations: 48.5 kB / 1.042 GB, free: 3.445 MB / 0.9948 GB Notification: Performance of SimCode: time 8.91e-07/0.3575, allocations: 0 / 1.042 GB, free: 3.445 MB / 0.9948 GB Notification: Performance of Templates: time 0.3209/0.6784, allocations: 10.99 MB / 1.053 GB, free: 277.2 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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: 9.13043221400585]