Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.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.003105/0.003105, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.003132/0.003132, allocations: 173.6 kB / 22.76 MB, free: 1.66 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 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.361/3.361, allocations: 429.5 MB / 0.6729 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0.5469 kB / 0.8774 GB, free: 6.734 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.669e-05, allocations: 4.703 kB / 0.8774 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00397/0.003997, allocations: 2.205 MB / 0.8795 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.199/0.203, allocations: 146.1 MB / 1.022 GB, free: 1.863 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.2032, allocations: 7.938 kB / 1.022 GB, free: 1.855 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.2043, allocations: 0.7831 MB / 1.023 GB, free: 1.07 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0009615/0.2053, allocations: 0.5334 MB / 1.024 GB, free: 0.5352 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009228/0.2062, allocations: 350.4 kB / 1.024 GB, free: 196 kB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.000771/0.207, allocations: 0.5964 MB / 1.024 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.2071, allocations: 60.88 kB / 1.025 GB, free: 15.53 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.2088, allocations: 457.6 kB / 1.025 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006615/0.2095, allocations: 0.4999 MB / 1.025 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.495e-05/0.2096, allocations: 24 kB / 1.025 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000656/0.2102, allocations: 287.5 kB / 1.026 GB, free: 14.31 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.2105, allocations: 199.6 kB / 1.026 GB, free: 14.12 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.2107, allocations: 135.4 kB / 1.026 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.212, allocations: 0.7552 MB / 1.027 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.212, allocations: 4 kB / 1.027 GB, free: 13.22 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.343e-06/0.212, allocations: 3.938 kB / 1.027 GB, free: 13.22 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.212, allocations: 0 / 1.027 GB, free: 13.22 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.002258/0.2142, allocations: 1.213 MB / 1.028 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2143, allocations: 8.031 kB / 1.028 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.216, allocations: 235.1 kB / 1.028 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000722/0.2167, allocations: 436.2 kB / 1.029 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.2167, allocations: 24.36 kB / 1.029 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/0.2168, allocations: 16 kB / 1.029 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007522/0.2175, allocations: 323.7 kB / 1.029 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2175, allocations: 0 / 1.029 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.2176, allocations: 11.98 kB / 1.029 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.2176, allocations: 7.938 kB / 1.029 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009057/0.2185, allocations: 296.8 kB / 1.029 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002458/0.2209, allocations: 1.232 MB / 1.031 GB, free: 9.32 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000914/0.2219, allocations: 318.9 kB / 1.031 GB, free: 8.984 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004409/0.2223, allocations: 151.2 kB / 1.031 GB, free: 8.828 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.2223, allocations: 8 kB / 1.031 GB, free: 8.82 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006459/0.223, allocations: 265.5 kB / 1.031 GB, free: 8.539 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/0.223, allocations: 0 / 1.031 GB, free: 8.539 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30): time 0.005746/0.2287, allocations: 0.8163 MB / 1.032 GB, free: 7.711 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/0.2288, allocations: 88.98 kB / 1.032 GB, free: 7.605 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.2303, allocations: 1.07 MB / 1.033 GB, free: 6.52 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/0.2303, allocations: 33.7 kB / 1.033 GB, free: 6.48 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005109/0.2308, allocations: 479.3 kB / 1.034 GB, free: 6.008 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.231, allocations: 111.2 kB / 1.034 GB, free: 5.898 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.2311, allocations: 79.19 kB / 1.034 GB, free: 5.812 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002693/0.2314, allocations: 0.4887 MB / 1.034 GB, free: 5.316 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004222/0.2318, allocations: 111.9 kB / 1.034 GB, free: 5.207 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.2323, allocations: 250.6 kB / 1.035 GB, free: 4.922 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009177/0.2332, allocations: 303.2 kB / 1.035 GB, free: 4.605 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2333, allocations: 3.984 kB / 1.035 GB, free: 4.602 MB / 0.9948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002787/0.236, allocations: 0.5549 MB / 1.035 GB, free: 4.035 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2361, allocations: 4 kB / 1.035 GB, free: 4.031 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2361, allocations: 4 kB / 1.035 GB, free: 4.027 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.2378, allocations: 219.5 kB / 1.036 GB, free: 3.809 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.2382, allocations: 67.89 kB / 1.036 GB, free: 3.742 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005292/0.2435, allocations: 2.142 MB / 1.038 GB, free: 1.473 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.2439, allocations: 43.8 kB / 1.038 GB, free: 1.43 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.543e-05/0.2439, allocations: 15.98 kB / 1.038 GB, free: 1.414 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002836/0.2442, allocations: 193.5 kB / 1.038 GB, free: 1.215 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.2444, allocations: 95.44 kB / 1.038 GB, free: 1.121 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003234/0.2476, allocations: 0.6216 MB / 1.039 GB, free: 500 kB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.2476, allocations: 7.938 kB / 1.039 GB, free: 492 kB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2476, allocations: 4 kB / 1.039 GB, free: 488 kB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.2476, allocations: 7.984 kB / 1.039 GB, free: 480 kB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008815/0.2485, allocations: 0.5696 MB / 1.039 GB, free: 15.86 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2485, allocations: 0 / 1.039 GB, free: 15.86 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.2489, allocations: 59.89 kB / 1.039 GB, free: 15.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001632/0.2505, allocations: 223.5 kB / 1.04 GB, free: 15.58 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/0.2505, allocations: 15.92 kB / 1.04 GB, free: 15.56 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005002/0.2555, allocations: 2.146 MB / 1.042 GB, free: 13.29 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2555, allocations: 0 / 1.042 GB, free: 13.29 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.2584, allocations: 0.6397 MB / 1.042 GB, free: 12.62 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.2586, allocations: 75.36 kB / 1.042 GB, free: 12.55 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.916e-05/0.2587, allocations: 8 kB / 1.042 GB, free: 12.54 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/0.259, allocations: 23.98 kB / 1.042 GB, free: 12.52 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.724e-05/0.2591, allocations: 27.89 kB / 1.042 GB, free: 12.49 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.838e-05/0.2592, allocations: 19.98 kB / 1.043 GB, free: 12.47 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009156/0.2601, allocations: 0.6669 MB / 1.043 GB, free: 11.81 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.2601, allocations: 0 / 1.043 GB, free: 11.81 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005517/0.2606, allocations: 127.8 kB / 1.043 GB, free: 11.68 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002958/0.2636, allocations: 451.4 kB / 1.044 GB, free: 11.42 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.2651, allocations: 0.5068 MB / 1.044 GB, free: 10.89 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.2651, allocations: 8.062 kB / 1.044 GB, free: 10.89 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008793/0.266, allocations: 390.3 kB / 1.045 GB, free: 10.48 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008309/0.2668, allocations: 144.2 kB / 1.045 GB, free: 10.35 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.2693, allocations: 1.231 MB / 1.046 GB, free: 9.074 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.2697, allocations: 359.5 kB / 1.046 GB, free: 8.699 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003364/0.2701, allocations: 74.86 kB / 1.046 GB, free: 8.629 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.2702, allocations: 40.48 kB / 1.046 GB, free: 8.59 MB / 1.01 GB Notification: Performance of SimCode: time 1.062e-06/0.2702, allocations: 4 kB / 1.046 GB, free: 8.586 MB / 1.01 GB Notification: Performance of Templates: time 0.369/0.6392, allocations: 10.71 MB / 1.057 GB, free: 220 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.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.31073483696673]