Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.008309/0.008309, allocations: 102 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.001826/0.001826, allocations: 192 kB / 16.67 MB, free: 5.973 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.455/2.455, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.84 kB / 1.018 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8982/0.8996, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002133/0.9018, allocations: 1.208 MB / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008123/0.9027, allocations: 387.1 kB / 1.168 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.9027, allocations: 3.938 kB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.9027, allocations: 0 / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.658e-05/0.9028, allocations: 0 / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.9033, allocations: 95.64 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.053e-05/0.9034, allocations: 15.98 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.9034, allocations: 4 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.13e-05/0.9035, allocations: 4 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.062e-05/0.9035, allocations: 11.92 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.9035, allocations: 0 / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.9037, allocations: 91.84 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.9037, allocations: 7.984 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.9038, allocations: 7.938 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.904, allocations: 76.39 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.904, allocations: 7.938 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.333e-06/0.904, allocations: 0 / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.904, allocations: 0 / 1.168 GB, free: 1.945 MB / 0.8887 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.0004867/0.9045, allocations: 380.9 kB / 1.169 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.9045, allocations: 8.625 kB / 1.169 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.9046, allocations: 8.938 kB / 1.169 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.9047, allocations: 164.4 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.9047, allocations: 8.312 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.9047, allocations: 8.375 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.822e-05/0.9048, allocations: 34.25 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.9048, allocations: 192 / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.9049, allocations: 3.938 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.9049, allocations: 0 / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.907e-05/0.9049, allocations: 4 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.9051, allocations: 157.7 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.173e-05/0.9051, allocations: 30.52 kB / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.064e-05/0.9052, allocations: 16.86 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.9052, allocations: 4.078 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.9053, allocations: 51.41 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.9053, allocations: 0 / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001905/0.9055, allocations: 73.56 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.9056, allocations: 59.34 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.862e-05/0.9057, allocations: 93.86 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.9057, allocations: 25.7 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.9057, allocations: 92.12 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.9058, allocations: 7.938 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.9058, allocations: 17.72 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.9059, allocations: 318.8 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.9059, allocations: 7.984 kB / 1.17 GB, free: 180 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.507e-05/0.906, allocations: 35.56 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.083e-05/0.906, allocations: 51.53 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9061, allocations: 0 / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000117/0.9062, allocations: 65.67 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.9062, allocations: 12.03 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.9062, allocations: 3.938 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.9062, allocations: 4 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.9063, allocations: 7.938 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.9063, allocations: 7.938 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.628e-05/0.9063, allocations: 3.953 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.9064, allocations: 4 kB / 1.17 GB, free: 15.95 MB / 0.9044 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 7.605e-05/0.9064, allocations: 113.8 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.9065, allocations: 7.938 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.9065, allocations: 11.44 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.9065, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.9065, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.9065, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.9067, allocations: 153.7 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9067, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.344e-05/0.9067, allocations: 4 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.9067, allocations: 3.938 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.9067, allocations: 3.984 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.9067, allocations: 0 / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.9067, allocations: 8 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.9069, allocations: 85.06 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.9069, allocations: 89.05 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.9069, allocations: 3.938 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.05e-05/0.907, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.907, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.907, allocations: 4 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.907, allocations: 83.27 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.907, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00024/0.9073, allocations: 31.94 kB / 1.171 GB, free: 15.26 MB / 0.9044 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.0003218/0.9076, allocations: 161.5 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.9077, allocations: 31.92 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9078, allocations: 8.219 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.605e-05/0.9078, allocations: 8 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.908, allocations: 7.984 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/0.9082, allocations: 107.2 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.9085, allocations: 0.6729 MB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.325e-05/0.9085, allocations: 7.984 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.617e-05/0.9085, allocations: 7.438 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.9085, allocations: 0 / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of Templates: time 0.00323/0.9117, allocations: 0.9528 MB / 1.173 GB, free: 13.25 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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