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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007507/0.007507, allocations: 101.7 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 194.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.715/2.715, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.91 kB / 1.065 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9762/0.9774, allocations: 159.1 MB / 1.221 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002295/0.9797, allocations: 1.195 MB / 1.222 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008121/0.9805, allocations: 388.6 kB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.9805, allocations: 0 / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.9805, allocations: 0 / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.506e-05/0.9806, allocations: 0 / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.9811, allocations: 95.66 kB / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.003e-05/0.9812, allocations: 15.98 kB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.9812, allocations: 11.94 kB / 1.222 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.9812, allocations: 11.97 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.317e-05/0.9813, allocations: 15.88 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.9813, allocations: 0 / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.9815, allocations: 79.91 kB / 1.222 GB, free: 288 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.9815, allocations: 7.984 kB / 1.222 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.9815, allocations: 7.938 kB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.9817, allocations: 88.38 kB / 1.222 GB, free: 188 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.9817, allocations: 3.938 kB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9817, allocations: 0 / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.9817, allocations: 0 / 1.222 GB, free: 184 kB / 0.9356 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.0005995/0.9823, allocations: 380.9 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.9824, allocations: 12.03 kB / 1.223 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.9824, allocations: 0.9375 kB / 1.223 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.9825, allocations: 160.4 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.9825, allocations: 4.375 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.9826, allocations: 4.375 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.9827, allocations: 34.25 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.9827, allocations: 4.188 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.9827, allocations: 11.92 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.9827, allocations: 0 / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.37e-05/0.9828, allocations: 7.984 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.9829, allocations: 153.6 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.428e-05/0.983, allocations: 30.61 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.983, allocations: 8.859 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.983, allocations: 0 / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.9832, allocations: 59.45 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.9832, allocations: 4 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002014/0.9834, allocations: 69.55 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.9834, allocations: 55.41 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.455e-05/0.9835, allocations: 97.84 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.9835, allocations: 29.7 kB / 1.224 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.9835, allocations: 84.27 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.9836, allocations: 7.953 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.9836, allocations: 21.7 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.9837, allocations: 314.8 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.9837, allocations: 8 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.525e-05/0.9838, allocations: 35.42 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.034e-05/0.9838, allocations: 43.38 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.9838, allocations: 0 / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001041/0.9839, allocations: 77.52 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.9839, allocations: 11.88 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.9839, allocations: 3.984 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.984, allocations: 4 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.984, allocations: 12.03 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.984, allocations: 4 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.453e-05/0.9841, allocations: 4 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.9841, allocations: 4 kB / 1.224 GB, free: 14.2 MB / 0.9512 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 8.213e-05/0.9842, allocations: 113.8 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.9842, allocations: 7.938 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.9842, allocations: 11.48 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.9842, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.9842, allocations: 4 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.9842, allocations: 3.938 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.9843, allocations: 149.7 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9843, allocations: 0 / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.9843, allocations: 4 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.9844, allocations: 3.938 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.9844, allocations: 0 / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.9844, allocations: 160 / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9844, allocations: 0 / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.9845, allocations: 93.3 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.9845, allocations: 85.14 kB / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.9845, allocations: 3.938 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.961e-05/0.9846, allocations: 0 / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.9846, allocations: 7.984 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.9846, allocations: 0 / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.905e-05/0.9846, allocations: 75.28 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9846, allocations: 0 / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002569/0.9849, allocations: 31.94 kB / 1.225 GB, free: 13.51 MB / 0.9512 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.0003482/0.9852, allocations: 162.2 kB / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.9854, allocations: 27.98 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9854, allocations: 3.938 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.779e-05/0.9854, allocations: 15.92 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.9855, allocations: 6.531 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.9858, allocations: 106.2 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.9861, allocations: 0.6768 MB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.125e-05/0.9861, allocations: 0 / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.9861, allocations: 11.44 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.9861, allocations: 0 / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of Templates: time 0.003624/0.9897, allocations: 0.9615 MB / 1.227 GB, free: 11.5 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) 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) "" Variables in the reference:time,y Variables in the result:seed,t0,time,y