Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00177/0.00177, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.002113/0.002113, allocations: 211.9 kB / 23.03 MB, free: 4.867 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.29/3.29, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Comfort.Validation.FangerCBE") [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.002152/0.002152, allocations: 73.34 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4301, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004174/0.4343, allocations: 2.128 MB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1812/0.6155, allocations: 132.4 MB / 1.458 GB, free: 9.961 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.6157, allocations: 3.938 kB / 1.458 GB, free: 9.957 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.6168, allocations: 0.7873 MB / 1.459 GB, free: 9.168 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0008716/0.6177, allocations: 0.522 MB / 1.46 GB, free: 8.645 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009398/0.6186, allocations: 338.8 kB / 1.46 GB, free: 8.312 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0006997/0.6193, allocations: 0.5887 MB / 1.461 GB, free: 7.719 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.6195, allocations: 55 kB / 1.461 GB, free: 7.668 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.6208, allocations: 369 kB / 1.461 GB, free: 7.316 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006047/0.6214, allocations: 0.5269 MB / 1.462 GB, free: 6.789 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.343e-05/0.6214, allocations: 24 kB / 1.462 GB, free: 6.766 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006236/0.6221, allocations: 287.6 kB / 1.462 GB, free: 6.484 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.6223, allocations: 191.6 kB / 1.462 GB, free: 6.297 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.6225, allocations: 194.4 kB / 1.462 GB, free: 6.105 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.6235, allocations: 0.7739 MB / 1.463 GB, free: 5.328 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.6235, allocations: 0 / 1.463 GB, free: 5.328 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6235, allocations: 0 / 1.463 GB, free: 5.328 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.6235, allocations: 0 / 1.463 GB, free: 5.328 MB / 1.154 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.001747/0.6252, allocations: 1.043 MB / 1.464 GB, free: 4.25 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.6253, allocations: 12.03 kB / 1.464 GB, free: 4.238 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.627, allocations: 219.2 kB / 1.464 GB, free: 4.023 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006583/0.6276, allocations: 429.3 kB / 1.465 GB, free: 3.574 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.6277, allocations: 16.38 kB / 1.465 GB, free: 3.559 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.6277, allocations: 27.86 kB / 1.465 GB, free: 3.531 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000953/0.6287, allocations: 338.9 kB / 1.465 GB, free: 3.188 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.6287, allocations: 3.984 kB / 1.465 GB, free: 3.184 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.6287, allocations: 8 kB / 1.465 GB, free: 3.176 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.6287, allocations: 8 kB / 1.465 GB, free: 3.168 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.63, allocations: 356.6 kB / 1.465 GB, free: 2.82 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.6323, allocations: 1.003 MB / 1.466 GB, free: 1.781 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.6335, allocations: 401.3 kB / 1.467 GB, free: 1.371 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006843/0.6342, allocations: 205.4 kB / 1.467 GB, free: 1.164 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 4.569e-05/0.6342, allocations: 7.984 kB / 1.467 GB, free: 1.156 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008764/0.6351, allocations: 312.8 kB / 1.467 GB, free: 0.832 MB / 1.154 GB Notification: Performance of pre-optimization done (n=30): time 2.394e-06/0.6351, allocations: 0 / 1.467 GB, free: 0.832 MB / 1.154 GB Notification: Performance of matching and sorting (n=30): time 0.008933/0.644, allocations: 1.175 MB / 1.468 GB, free: 15.65 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.6441, allocations: 81.05 kB / 1.468 GB, free: 15.55 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.6457, allocations: 1.38 MB / 1.47 GB, free: 14.16 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/0.6458, allocations: 37.69 kB / 1.47 GB, free: 14.12 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.6462, allocations: 372.5 kB / 1.47 GB, free: 13.75 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.6463, allocations: 99.16 kB / 1.47 GB, free: 13.65 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.6464, allocations: 65.67 kB / 1.47 GB, free: 13.58 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.6466, allocations: 322 kB / 1.471 GB, free: 13.26 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006492/0.6472, allocations: 179.7 kB / 1.471 GB, free: 13.08 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000714/0.6479, allocations: 285.3 kB / 1.471 GB, free: 12.77 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.6492, allocations: 405.6 kB / 1.471 GB, free: 12.36 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.6493, allocations: 4 kB / 1.472 GB, free: 12.36 MB / 1.17 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004016/0.6533, allocations: 0.7288 MB / 1.472 GB, free: 11.62 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.6533, allocations: 11.98 kB / 1.472 GB, free: 11.61 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.6533, allocations: 0 / 1.472 GB, free: 11.61 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.6544, allocations: 180.7 kB / 1.472 GB, free: 11.43 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.6547, allocations: 59.89 kB / 1.472 GB, free: 11.37 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007826/0.6626, allocations: 2.164 MB / 1.475 GB, free: 9.105 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006322/0.6632, allocations: 35.91 kB / 1.475 GB, free: 9.07 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.6632, allocations: 23.91 kB / 1.475 GB, free: 9.047 MB / 1.17 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.0005483/0.6638, allocations: 298.1 kB / 1.475 GB, free: 8.746 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.6639, allocations: 87.44 kB / 1.475 GB, free: 8.66 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00424/0.6682, allocations: 0.857 MB / 1.476 GB, free: 7.789 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.6682, allocations: 4 kB / 1.476 GB, free: 7.785 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.6682, allocations: 8.047 kB / 1.476 GB, free: 7.777 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.6682, allocations: 0 / 1.476 GB, free: 7.777 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007831/0.669, allocations: 495.4 kB / 1.476 GB, free: 7.262 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.669, allocations: 0 / 1.476 GB, free: 7.262 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.6693, allocations: 55.91 kB / 1.476 GB, free: 7.207 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/0.6703, allocations: 184.6 kB / 1.477 GB, free: 7.023 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-05/0.6704, allocations: 19.86 kB / 1.477 GB, free: 7.004 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007646/0.678, allocations: 2.154 MB / 1.479 GB, free: 4.746 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.678, allocations: 3.938 kB / 1.479 GB, free: 4.742 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004162/0.6822, allocations: 0.8109 MB / 1.479 GB, free: 3.906 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.6824, allocations: 75.31 kB / 1.48 GB, free: 3.832 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.429e-05/0.6825, allocations: 12 kB / 1.48 GB, free: 3.82 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/0.6829, allocations: 31.97 kB / 1.48 GB, free: 3.789 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.683, allocations: 27.95 kB / 1.48 GB, free: 3.762 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/0.6831, allocations: 19.92 kB / 1.48 GB, free: 3.742 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001214/0.6843, allocations: 1.03 MB / 1.481 GB, free: 2.715 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6843, allocations: 0 / 1.481 GB, free: 2.715 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000563/0.6849, allocations: 119.8 kB / 1.481 GB, free: 2.598 MB / 1.17 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 (38): * Single equations (assignments): 33 * 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.001798/0.6867, allocations: 481.5 kB / 1.481 GB, free: 2.309 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00186/0.6885, allocations: 0.5551 MB / 1.482 GB, free: 1.742 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6885, allocations: 0 / 1.482 GB, free: 1.742 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009888/0.6895, allocations: 366.4 kB / 1.482 GB, free: 1.371 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006732/0.6902, allocations: 121.5 kB / 1.482 GB, free: 1.258 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.6931, allocations: 1.703 MB / 1.484 GB, free: 15.51 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.6935, allocations: 384.2 kB / 1.484 GB, free: 15.11 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.6937, allocations: 43.42 kB / 1.484 GB, free: 15.07 MB / 1.186 GB Notification: Performance of SimCode: time 6.82e-07/0.6937, allocations: 0 / 1.484 GB, free: 15.07 MB / 1.186 GB Notification: Performance of Templates: time 0.02103/0.7147, allocations: 11.63 MB / 1.496 GB, free: 3.438 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.30914359097369]