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.001931/0.001931, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002567/0.002567, allocations: 161.7 kB / 23.55 MB, free: 0.8945 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.534/1.534, allocations: 177.1 MB / 203.9 MB, free: 5.594 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 2.806/2.806, allocations: 377.8 MB / 0.6232 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.465e-06/2.465e-06, allocations: 0 / 0.8108 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.335e-05, allocations: 3.562 kB / 0.8108 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.006142/0.006175, allocations: 2.14 MB / 0.8129 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.2071/0.2133, allocations: 132.4 MB / 0.9421 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.2136, allocations: 7.938 kB / 0.9421 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.2149, allocations: 0.7754 MB / 0.9429 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.2161, allocations: 0.5373 MB / 0.9434 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009674/0.217, allocations: 346.4 kB / 0.9438 GB, free: 9.531 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0008322/0.2179, allocations: 0.6003 MB / 0.9443 GB, free: 8.93 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.218, allocations: 52.89 kB / 0.9444 GB, free: 8.879 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.2196, allocations: 458.8 kB / 0.9448 GB, free: 8.465 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006784/0.2203, allocations: 0.4999 MB / 0.9453 GB, free: 7.965 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 7.269e-05/0.2203, allocations: 24 kB / 0.9453 GB, free: 7.941 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006232/0.221, allocations: 295.4 kB / 0.9456 GB, free: 7.652 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.2212, allocations: 199.6 kB / 0.9458 GB, free: 7.457 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.2214, allocations: 131.4 kB / 0.9459 GB, free: 7.328 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.2225, allocations: 0.763 MB / 0.9467 GB, free: 6.562 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2225, allocations: 0 / 0.9467 GB, free: 6.562 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2225, allocations: 0 / 0.9467 GB, free: 6.562 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.2226, allocations: 0 / 0.9467 GB, free: 6.562 MB / 0.9011 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.001922/0.2245, allocations: 1.035 MB / 0.9477 GB, free: 5.492 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2245, allocations: 12.02 kB / 0.9477 GB, free: 5.48 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001865/0.2264, allocations: 239.1 kB / 0.9479 GB, free: 5.246 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007111/0.2271, allocations: 441.3 kB / 0.9484 GB, free: 4.789 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.2271, allocations: 16.38 kB / 0.9484 GB, free: 4.773 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/0.2272, allocations: 16 kB / 0.9484 GB, free: 4.758 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.2282, allocations: 339 kB / 0.9487 GB, free: 4.414 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.2283, allocations: 3.938 kB / 0.9487 GB, free: 4.41 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.2283, allocations: 15.98 kB / 0.9487 GB, free: 4.395 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.2283, allocations: 7.938 kB / 0.9487 GB, free: 4.387 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.2297, allocations: 348.7 kB / 0.9491 GB, free: 4.047 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/0.2321, allocations: 1.019 MB / 0.9501 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.2334, allocations: 385.4 kB / 0.9504 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007487/0.2341, allocations: 201.6 kB / 0.9506 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.616e-05/0.2342, allocations: 11.97 kB / 0.9506 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009551/0.2351, allocations: 312.8 kB / 0.9509 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=30): time 1.884e-06/0.2351, allocations: 0 / 0.9509 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30): time 0.009382/0.2445, allocations: 1.184 MB / 0.9521 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.2446, allocations: 85.11 kB / 0.9522 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.2465, allocations: 1.384 MB / 0.9535 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.2465, allocations: 37.64 kB / 0.9536 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.2469, allocations: 372.5 kB / 0.9539 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.2471, allocations: 99.16 kB / 0.954 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.2472, allocations: 69.67 kB / 0.9541 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.2474, allocations: 318 kB / 0.9544 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007161/0.2481, allocations: 175.7 kB / 0.9545 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007921/0.2489, allocations: 294.8 kB / 0.9548 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.2504, allocations: 411.9 kB / 0.9552 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2504, allocations: 0 / 0.9552 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004341/0.2548, allocations: 0.7409 MB / 0.9559 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.2548, allocations: 11.98 kB / 0.956 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2548, allocations: 0 / 0.956 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002798/0.2576, allocations: 332.6 kB / 0.9563 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.258, allocations: 63.89 kB / 0.9563 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008503/0.2665, allocations: 2.146 MB / 0.9584 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/0.267, allocations: 43.83 kB / 0.9585 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.2671, allocations: 11.98 kB / 0.9585 GB, free: 10.1 MB / 0.9167 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.000444/0.2675, allocations: 301.6 kB / 0.9588 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.2677, allocations: 95.44 kB / 0.9589 GB, free: 9.699 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004721/0.2725, allocations: 0.8697 MB / 0.9597 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.2725, allocations: 7.938 kB / 0.9597 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2725, allocations: 0 / 0.9597 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.2725, allocations: 3.984 kB / 0.9597 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000783/0.2733, allocations: 487.8 kB / 0.9602 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2733, allocations: 0 / 0.9602 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.2736, allocations: 63.89 kB / 0.9602 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002759/0.2764, allocations: 332.5 kB / 0.9606 GB, free: 7.91 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/0.2764, allocations: 15.97 kB / 0.9606 GB, free: 7.895 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008191/0.2846, allocations: 2.15 MB / 0.9627 GB, free: 5.645 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2846, allocations: 4.062 kB / 0.9627 GB, free: 5.641 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004396/0.289, allocations: 0.8148 MB / 0.9635 GB, free: 4.801 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.2891, allocations: 79.31 kB / 0.9636 GB, free: 4.723 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.994e-05/0.2892, allocations: 8 kB / 0.9636 GB, free: 4.715 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004554/0.2897, allocations: 31.97 kB / 0.9636 GB, free: 4.684 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.422e-05/0.2898, allocations: 23.95 kB / 0.9636 GB, free: 4.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.481e-05/0.2898, allocations: 19.97 kB / 0.9636 GB, free: 4.641 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001289/0.2911, allocations: 1.03 MB / 0.9646 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2911, allocations: 7.938 kB / 0.9647 GB, free: 3.609 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005526/0.2917, allocations: 123.8 kB / 0.9648 GB, free: 3.484 MB / 0.9167 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.002107/0.2938, allocations: 467.2 kB / 0.9652 GB, free: 3.203 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001932/0.2957, allocations: 0.5553 MB / 0.9658 GB, free: 2.637 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2957, allocations: 0 / 0.9658 GB, free: 2.637 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.2968, allocations: 362.4 kB / 0.9661 GB, free: 2.27 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007174/0.2975, allocations: 149.1 kB / 0.9662 GB, free: 2.129 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.3005, allocations: 1.659 MB / 0.9679 GB, free: 444 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.3009, allocations: 376.2 kB / 0.9682 GB, free: 44 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003515/0.3013, allocations: 86.91 kB / 0.9683 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.3015, allocations: 44.48 kB / 0.9683 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of SimCode: time 5.61e-07/0.3015, allocations: 0 / 0.9683 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of Templates: time 0.02077/0.3222, allocations: 10.64 MB / 0.9787 GB, free: 5.422 MB / 0.9323 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=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/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.377136852010153]