Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 198.3 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.885/2.885, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 67.89 kB / 1.109 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9575/0.9597, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002444/0.9622, allocations: 1.217 MB / 1.275 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008614/0.963, allocations: 402.6 kB / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.963, allocations: 0 / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.9631, allocations: 3.938 kB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.318e-05/0.9631, allocations: 0 / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.9636, allocations: 91.66 kB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.095e-05/0.9637, allocations: 19.98 kB / 1.276 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.9637, allocations: 4 kB / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.149e-05/0.9638, allocations: 7.984 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.401e-05/0.9638, allocations: 11.92 kB / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.9638, allocations: 4 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.964, allocations: 91.83 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.964, allocations: 4 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.9641, allocations: 11.92 kB / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.9643, allocations: 86.5 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9643, allocations: 0 / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.684e-06/0.9643, allocations: 0 / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.9643, allocations: 0 / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005675/0.9648, allocations: 388.9 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.9649, allocations: 8.031 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.9649, allocations: 0.9375 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.965, allocations: 164.4 kB / 1.276 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.9651, allocations: 4.375 kB / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.9651, allocations: 4.375 kB / 1.276 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.9652, allocations: 46.17 kB / 1.276 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.9652, allocations: 192 / 1.276 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.9652, allocations: 3.938 kB / 1.276 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.9652, allocations: 0 / 1.276 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.378e-05/0.9652, allocations: 8 kB / 1.277 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002173/0.9655, allocations: 157.7 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.461e-05/0.9655, allocations: 22.52 kB / 1.277 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/0.9656, allocations: 16.95 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.9656, allocations: 3.984 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.9657, allocations: 63.3 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.9657, allocations: 0 / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002319/0.966, allocations: 65.61 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.966, allocations: 55.41 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.9661, allocations: 93.86 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.9662, allocations: 33.7 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.9662, allocations: 80.14 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.9662, allocations: 7.938 kB / 1.277 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.9663, allocations: 25.66 kB / 1.277 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.9664, allocations: 314.8 kB / 1.277 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.9665, allocations: 7.984 kB / 1.277 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.469e-05/0.9665, allocations: 35.56 kB / 1.277 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.037e-05/0.9666, allocations: 47.36 kB / 1.277 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.9666, allocations: 0 / 1.277 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001086/0.9667, allocations: 69.64 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.9667, allocations: 11.97 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.9667, allocations: 0 / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.9667, allocations: 7.938 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/0.9668, allocations: 4 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.9668, allocations: 11.92 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.435e-05/0.9668, allocations: 0 / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.9668, allocations: 4 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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 0.0001152/0.9669, allocations: 119.8 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.967, allocations: 3.938 kB / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.967, allocations: 7.5 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.967, allocations: 0 / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.967, allocations: 240 / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.967, allocations: 4 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.9672, allocations: 157.7 kB / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.9672, allocations: 3.984 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.368e-05/0.9672, allocations: 4 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.9672, allocations: 3.938 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.9672, allocations: 3.984 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.9672, allocations: 0 / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9672, allocations: 4 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.9674, allocations: 89.02 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-05/0.9674, allocations: 81.09 kB / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.9674, allocations: 3.938 kB / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.992e-05/0.9675, allocations: 0 / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.9675, allocations: 7.938 kB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.9675, allocations: 0 / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.247e-05/0.9675, allocations: 87.27 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9675, allocations: 0 / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002399/0.9678, allocations: 27.94 kB / 1.278 GB, free: 15.89 MB / 0.9825 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 (4): * Single equations (assignments): 2 * 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.0004317/0.9682, allocations: 152 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001468/0.9684, allocations: 32.08 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9684, allocations: 4.062 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.639e-05/0.9684, allocations: 4 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.9687, allocations: 11.98 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.9691, allocations: 106.4 kB / 1.278 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.9694, allocations: 0.6729 MB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.923e-05/0.9694, allocations: 7.984 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.9695, allocations: 11.38 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.9695, allocations: 0 / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of Templates: time 0.003948/0.9734, allocations: 0.9721 MB / 1.28 GB, free: 13.88 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:seed,t0,time,y [Calling sys.exit(0), Time elapsed: 9.322783439885825]