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.001849/0.001849, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002288/0.002288, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.485/1.485, allocations: 225.6 MB / 249.4 MB, free: 3.336 MB / 190.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 3.251/3.251, allocations: 476.7 MB / 0.7628 GB, free: 15.34 MB / 0.6075 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.002053/0.002053, allocations: 72.02 kB / 1.107 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.058, allocations: 168.7 MB / 1.272 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.00259/1.06, allocations: 1.221 MB / 1.273 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008636/1.061, allocations: 388.8 kB / 1.273 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/1.061, allocations: 4.719 kB / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/1.061, allocations: 0 / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.464e-05/1.061, allocations: 4 kB / 1.274 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/1.062, allocations: 96.91 kB / 1.274 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.593e-05/1.062, allocations: 14.69 kB / 1.274 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/1.062, allocations: 2.047 kB / 1.274 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.883e-05/1.062, allocations: 5.344 kB / 1.274 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.296e-05/1.062, allocations: 12.64 kB / 1.274 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/1.062, allocations: 0.9062 kB / 1.274 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/1.062, allocations: 99.36 kB / 1.274 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/1.062, allocations: 7.016 kB / 1.274 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/1.062, allocations: 15.14 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/1.063, allocations: 77.8 kB / 1.274 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/1.063, allocations: 0.875 kB / 1.274 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/1.063, allocations: 0 / 1.274 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.184e-05/1.063, allocations: 0.9062 kB / 1.274 GB, free: 6.742 MB / 0.9981 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.0004478/1.063, allocations: 382.8 kB / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.063, allocations: 9.781 kB / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/1.063, allocations: 6.594 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.241e-05/1.063, allocations: 165.5 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/1.063, allocations: 9.25 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/1.063, allocations: 2.938 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/1.063, allocations: 37 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/1.063, allocations: 192 / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/1.063, allocations: 7.938 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/1.063, allocations: 1.062 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.155e-05/1.063, allocations: 3.922 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/1.063, allocations: 157.1 kB / 1.275 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.808e-05/1.064, allocations: 32.33 kB / 1.275 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/1.064, allocations: 14.45 kB / 1.275 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/1.064, allocations: 5.016 kB / 1.275 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/1.064, allocations: 52.45 kB / 1.275 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/1.064, allocations: 1.125 kB / 1.275 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002098/1.064, allocations: 67.8 kB / 1.275 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/1.064, allocations: 60.81 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.089e-05/1.064, allocations: 93.95 kB / 1.275 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/1.064, allocations: 30.92 kB / 1.275 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.148e-05/1.064, allocations: 80.98 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/1.064, allocations: 6 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/1.064, allocations: 21.67 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.183e-05/1.064, allocations: 317.7 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.15e-05/1.064, allocations: 8.75 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.082e-05/1.064, allocations: 33.48 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.89e-05/1.064, allocations: 46.61 kB / 1.275 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.064, allocations: 1.031 kB / 1.275 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001112/1.064, allocations: 72.7 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.064, allocations: 9.844 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.064, allocations: 1.125 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/1.064, allocations: 1.031 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/1.064, allocations: 11.67 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/1.064, allocations: 2.25 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/1.065, allocations: 4.906 kB / 1.276 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/1.065, allocations: 6.016 kB / 1.276 GB, free: 4.98 MB / 0.9981 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 5.474e-05/1.065, allocations: 125.6 kB / 1.276 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/1.065, allocations: 4.844 kB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/1.065, allocations: 4.469 kB / 1.276 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.065, allocations: 1.094 kB / 1.276 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.065, allocations: 0 / 1.276 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.065, allocations: 1.062 kB / 1.276 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.22e-05/1.065, allocations: 157 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.065, allocations: 0 / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/1.065, allocations: 2.125 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/1.065, allocations: 4.906 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/1.065, allocations: 6.156 kB / 1.276 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.065, allocations: 3.984 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.065, allocations: 0 / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/1.065, allocations: 89.17 kB / 1.276 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/1.065, allocations: 79.12 kB / 1.276 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/1.065, allocations: 4.625 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/1.065, allocations: 2.234 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/1.065, allocations: 1.969 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/1.065, allocations: 8.438 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.882e-05/1.065, allocations: 80.59 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.065, allocations: 0 / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002549/1.065, allocations: 26.16 kB / 1.276 GB, free: 4.371 MB / 0.9981 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.0003545/1.066, allocations: 159.5 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001338/1.066, allocations: 32.42 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.066, allocations: 0 / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.826e-05/1.066, allocations: 10.78 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/1.066, allocations: 8.219 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/1.066, allocations: 111.7 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/1.066, allocations: 0.6768 MB / 1.277 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.151e-05/1.066, allocations: 2.562 kB / 1.277 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.659e-05/1.066, allocations: 13.28 kB / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of SimCode: time 6.02e-07/1.066, allocations: 0.7812 kB / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of Templates: time 0.003815/1.07, allocations: 0.9614 MB / 1.278 GB, free: 3.301 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.69659598171711]