Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.0008607/0.0008607, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008535/0.0008535, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8653/0.8653, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.623/1.623, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.617e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001378/0.001394, allocations: 1.235 MB / 0.9529 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006058/0.002, allocations: 451 kB / 0.9533 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.002023, allocations: 0 / 0.9533 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.002039, allocations: 0 / 0.9533 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.36e-05/0.002072, allocations: 0 / 0.9533 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.002518, allocations: 127.4 kB / 0.9535 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.871e-05/0.002577, allocations: 23.92 kB / 0.9535 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.494e-05/0.002612, allocations: 3.984 kB / 0.9535 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.441e-05/0.002646, allocations: 15.98 kB / 0.9535 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.385e-05/0.00267, allocations: 7.984 kB / 0.9535 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.002684, allocations: 3.938 kB / 0.9535 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.002871, allocations: 143.7 kB / 0.9536 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.002884, allocations: 4 kB / 0.9536 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.002908, allocations: 7.984 kB / 0.9537 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.003123, allocations: 127.6 kB / 0.9538 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003125, allocations: 4 kB / 0.9538 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003125, allocations: 0 / 0.9538 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.00313, allocations: 0 / 0.9538 GB, free: 0.8672 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003432/0.003473, allocations: 310 kB / 0.9541 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.003504, allocations: 8.031 kB / 0.9541 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.003532, allocations: 8.891 kB / 0.9541 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.461e-05/0.003596, allocations: 113.8 kB / 0.9542 GB, free: 384 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.003614, allocations: 8.312 kB / 0.9542 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.003624, allocations: 4.359 kB / 0.9542 GB, free: 372 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.347e-05/0.003707, allocations: 42.25 kB / 0.9543 GB, free: 324 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.003713, allocations: 4.188 kB / 0.9543 GB, free: 320 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.00372, allocations: 384 / 0.9543 GB, free: 320 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.003724, allocations: 384 / 0.9543 GB, free: 320 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.499e-05/0.003749, allocations: 19.86 kB / 0.9543 GB, free: 300 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001004/0.00385, allocations: 109.3 kB / 0.9544 GB, free: 160 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.942e-05/0.003889, allocations: 26.61 kB / 0.9544 GB, free: 124 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.003915, allocations: 8.859 kB / 0.9544 GB, free: 112 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-06/0.003923, allocations: 4 kB / 0.9544 GB, free: 108 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.429e-05/0.004008, allocations: 63.42 kB / 0.9545 GB, free: 32 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 7.02e-07/0.004008, allocations: 4 kB / 0.9545 GB, free: 28 kB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.000179/0.004187, allocations: 77.69 kB / 0.9546 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.004217, allocations: 51.41 kB / 0.9546 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.36e-05/0.004271, allocations: 113.7 kB / 0.9547 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.00428, allocations: 25.7 kB / 0.9547 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.004308, allocations: 80.14 kB / 0.9548 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.004327, allocations: 19.89 kB / 0.9548 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.004352, allocations: 17.72 kB / 0.9548 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.004421, allocations: 318.8 kB / 0.9552 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.004436, allocations: 11.97 kB / 0.9552 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.797e-05/0.004464, allocations: 44.23 kB / 0.9552 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.069e-05/0.004515, allocations: 56.22 kB / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.004518, allocations: 4 kB / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.619e-05/0.004584, allocations: 65.62 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.004595, allocations: 8 kB / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.004599, allocations: 0 / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.004609, allocations: 4.125 kB / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.72e-05/0.004666, allocations: 15.92 kB / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.004672, allocations: 7.938 kB / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.838e-05/0.00469, allocations: 7.953 kB / 0.9554 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.004698, allocations: 4.5 kB / 0.9554 GB, free: 15.02 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: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.036e-05/0.004749, allocations: 109.8 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-06/0.004754, allocations: 4 kB / 0.9555 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.927e-05/0.004774, allocations: 11.8 kB / 0.9555 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.004775, allocations: 0 / 0.9555 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.004779, allocations: 4 kB / 0.9555 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.004783, allocations: 7.938 kB / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.958e-05/0.004842, allocations: 105.3 kB / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.004843, allocations: 0 / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.238e-06/0.004852, allocations: 11.92 kB / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.004853, allocations: 3.938 kB / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.004858, allocations: 0 / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.00486, allocations: 4 kB / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.00486, allocations: 0 / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.543e-05/0.004946, allocations: 97.05 kB / 0.9557 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.004952, allocations: 7.984 kB / 0.9557 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.004964, allocations: 0 / 0.9557 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.483e-05/0.004979, allocations: 4 kB / 0.9557 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.004998, allocations: 7.938 kB / 0.9557 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.005002, allocations: 0 / 0.9557 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.553e-05/0.005027, allocations: 91.2 kB / 0.9558 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.005027, allocations: 0 / 0.9558 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001589/0.005186, allocations: 27.94 kB / 0.9558 GB, free: 14.48 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002404/0.005427, allocations: 189.4 kB / 0.956 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.885e-05/0.005506, allocations: 36.17 kB / 0.9561 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.005507, allocations: 0 / 0.9561 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.506e-05/0.005532, allocations: 12 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.596e-05/0.005628, allocations: 10.5 kB / 0.9561 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001882/0.005816, allocations: 138.5 kB / 0.9562 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.386e-05/0.00585, allocations: 67.25 kB / 0.9563 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.005864, allocations: 12.5 kB / 0.9563 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of SimCode: time 4.11e-07/0.005864, allocations: 4.188 kB / 0.9563 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of Templates: time 0.001944/0.007808, allocations: 1.343 MB / 0.9576 GB, free: 12.63 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.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: 6.780787026509643]