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.00257/0.00257, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.003145/0.003145, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.55/1.55, allocations: 177.2 MB / 203.9 MB, free: 5.59 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.035/3.035, allocations: 377.9 MB / 0.6232 GB, free: 8.52 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.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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.625e-05/3.804e-05, allocations: 8.328 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.006722/0.00676, allocations: 2.204 MB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.2183/0.2251, allocations: 146.1 MB / 0.9556 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.2252, allocations: 7.938 kB / 0.9556 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.2264, allocations: 0.787 MB / 0.9564 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0009509/0.2273, allocations: 0.5256 MB / 0.9569 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008965/0.2282, allocations: 354.4 kB / 0.9573 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0007539/0.229, allocations: 0.6003 MB / 0.9578 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.2291, allocations: 52.89 kB / 0.9579 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001467/0.2306, allocations: 463.2 kB / 0.9583 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006665/0.2313, allocations: 0.4999 MB / 0.9588 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7.467e-05/0.2314, allocations: 28 kB / 0.9588 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006272/0.232, allocations: 287.4 kB / 0.9591 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.2322, allocations: 195.6 kB / 0.9593 GB, free: 9.574 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.2324, allocations: 131.4 kB / 0.9594 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.2335, allocations: 0.759 MB / 0.9602 GB, free: 8.684 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.2335, allocations: 4 kB / 0.9602 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2335, allocations: 4 kB / 0.9602 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.2335, allocations: 3.984 kB / 0.9602 GB, free: 8.672 MB / 0.9167 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.002045/0.2356, allocations: 1.201 MB / 0.9614 GB, free: 7.43 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2356, allocations: 8.031 kB / 0.9614 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.237, allocations: 223.1 kB / 0.9616 GB, free: 7.203 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007664/0.2378, allocations: 440.2 kB / 0.962 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.2378, allocations: 12.38 kB / 0.962 GB, free: 6.734 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.2379, allocations: 19.98 kB / 0.962 GB, free: 6.715 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007439/0.2386, allocations: 327.4 kB / 0.9623 GB, free: 6.379 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2386, allocations: 3.984 kB / 0.9623 GB, free: 6.375 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.539e-05/0.2387, allocations: 8 kB / 0.9624 GB, free: 6.367 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.2387, allocations: 7.938 kB / 0.9624 GB, free: 6.359 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008957/0.2396, allocations: 292.8 kB / 0.9626 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.242, allocations: 1.235 MB / 0.9638 GB, free: 4.793 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009009/0.2429, allocations: 314.4 kB / 0.9641 GB, free: 4.461 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/0.2433, allocations: 139.3 kB / 0.9643 GB, free: 4.316 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/0.2434, allocations: 15.94 kB / 0.9643 GB, free: 4.301 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006357/0.244, allocations: 272.1 kB / 0.9646 GB, free: 4.012 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/0.244, allocations: 0 / 0.9646 GB, free: 4.012 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30): time 0.005647/0.2497, allocations: 0.8083 MB / 0.9653 GB, free: 3.191 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.2497, allocations: 89.03 kB / 0.9654 GB, free: 3.086 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.2511, allocations: 1.066 MB / 0.9665 GB, free: 2.004 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/0.2512, allocations: 37.7 kB / 0.9665 GB, free: 1.961 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00071/0.2519, allocations: 483.2 kB / 0.967 GB, free: 1.484 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.252, allocations: 103.2 kB / 0.9671 GB, free: 1.383 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.2522, allocations: 83.17 kB / 0.9671 GB, free: 1.293 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002642/0.2524, allocations: 0.4887 MB / 0.9676 GB, free: 0.7969 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/0.2528, allocations: 115.9 kB / 0.9677 GB, free: 0.6836 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005087/0.2533, allocations: 258.5 kB / 0.968 GB, free: 400 kB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008458/0.2542, allocations: 294.3 kB / 0.9683 GB, free: 84 kB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2542, allocations: 0 / 0.9683 GB, free: 84 kB / 0.9167 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002705/0.2569, allocations: 0.5445 MB / 0.9688 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2569, allocations: 8 kB / 0.9688 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2569, allocations: 4.062 kB / 0.9688 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/0.2586, allocations: 215.5 kB / 0.969 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.259, allocations: 67.89 kB / 0.9691 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005122/0.2641, allocations: 2.146 MB / 0.9712 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.2645, allocations: 43.72 kB / 0.9712 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/0.2645, allocations: 15.98 kB / 0.9712 GB, free: 12.9 MB / 0.9323 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.0002877/0.2648, allocations: 184.6 kB / 0.9714 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.265, allocations: 107.3 kB / 0.9715 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002983/0.268, allocations: 0.6268 MB / 0.9721 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.268, allocations: 7.938 kB / 0.9721 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.268, allocations: 4.062 kB / 0.9721 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.268, allocations: 4 kB / 0.9721 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008332/0.2688, allocations: 0.5812 MB / 0.9727 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2688, allocations: 0 / 0.9727 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/0.2691, allocations: 59.91 kB / 0.9728 GB, free: 11.28 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/0.2707, allocations: 215.5 kB / 0.973 GB, free: 11.06 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/0.2708, allocations: 23.97 kB / 0.973 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005223/0.276, allocations: 2.142 MB / 0.9751 GB, free: 8.777 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.276, allocations: 0 / 0.9751 GB, free: 8.777 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002879/0.2789, allocations: 0.6402 MB / 0.9757 GB, free: 8.105 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.2791, allocations: 83.31 kB / 0.9758 GB, free: 8.023 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.393e-05/0.2791, allocations: 4 kB / 0.9758 GB, free: 8.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.2795, allocations: 19.98 kB / 0.9758 GB, free: 8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.2796, allocations: 31.89 kB / 0.9758 GB, free: 7.969 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.574e-05/0.2796, allocations: 19.97 kB / 0.9759 GB, free: 7.949 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0008826/0.2805, allocations: 0.6708 MB / 0.9765 GB, free: 7.285 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.2805, allocations: 0 / 0.9765 GB, free: 7.285 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005279/0.281, allocations: 127.8 kB / 0.9766 GB, free: 7.16 MB / 0.9323 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.002989/0.284, allocations: 472 kB / 0.9771 GB, free: 6.875 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00143/0.2855, allocations: 0.5161 MB / 0.9776 GB, free: 6.34 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2855, allocations: 0 / 0.9776 GB, free: 6.34 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008448/0.2863, allocations: 385.3 kB / 0.978 GB, free: 5.941 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00075/0.287, allocations: 137.7 kB / 0.9781 GB, free: 5.809 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.2893, allocations: 1.234 MB / 0.9793 GB, free: 4.531 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.2897, allocations: 360.2 kB / 0.9796 GB, free: 4.156 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003051/0.29, allocations: 70.88 kB / 0.9797 GB, free: 4.086 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.2902, allocations: 44.47 kB / 0.9797 GB, free: 4.043 MB / 0.9323 GB Notification: Performance of SimCode: time 1.032e-06/0.2902, allocations: 4 kB / 0.9797 GB, free: 4.039 MB / 0.9323 GB Notification: Performance of Templates: time 0.02115/0.3113, allocations: 10.79 MB / 0.9903 GB, free: 9.387 MB / 0.948 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.574472382082604]