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.00174/0.00174, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001846/0.001846, allocations: 200.4 kB / 16.91 MB, free: 6.195 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.399/1.399, allocations: 222.9 MB / 240.6 MB, free: 13.75 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.693/2.693, allocations: 469.8 MB / 0.7427 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 73.17 kB / 0.9087 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3176, allocations: 159.1 MB / 1.064 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002419/0.32, allocations: 1.274 MB / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007651/0.3208, allocations: 378.8 kB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.3208, allocations: 0 / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.992e-05/0.3209, allocations: 0 / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.585e-05/0.3209, allocations: 3.938 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.3214, allocations: 75.86 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.547e-05/0.3215, allocations: 23.91 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.3215, allocations: 4 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.302e-05/0.3215, allocations: 11.94 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.879e-05/0.3216, allocations: 7.984 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.3216, allocations: 0 / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.3218, allocations: 91.91 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.3218, allocations: 0 / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.3218, allocations: 11.94 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.322, allocations: 63.83 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.322, allocations: 0 / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.312e-06/0.322, allocations: 0 / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.322, allocations: 0 / 1.066 GB, free: 13.24 MB / 0.8419 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.000482/0.3225, allocations: 373.3 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3225, allocations: 8.031 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.3225, allocations: 4.938 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.3227, allocations: 164.6 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.3227, allocations: 4.359 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.3227, allocations: 4.375 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.3228, allocations: 38.25 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.3229, allocations: 4.125 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3229, allocations: 11.88 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3229, allocations: 0 / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.316e-05/0.3229, allocations: 7.938 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.3231, allocations: 157.6 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.301e-05/0.3232, allocations: 30.61 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.3232, allocations: 8.859 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.3232, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.3234, allocations: 59.48 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3234, allocations: 0 / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0001979/0.3236, allocations: 73.55 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.3237, allocations: 55.41 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/0.3237, allocations: 93.86 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.3238, allocations: 25.7 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.3238, allocations: 92.27 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.3238, allocations: 3.906 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.3239, allocations: 21.7 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.324, allocations: 314.8 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.324, allocations: 8 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.041e-05/0.3241, allocations: 35.42 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.692e-05/0.3242, allocations: 43.56 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3242, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001064/0.3243, allocations: 77.53 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3243, allocations: 7.938 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3243, allocations: 0 / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3243, allocations: 4 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/0.3244, allocations: 4.094 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3244, allocations: 8 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.3244, allocations: 7.906 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.3244, allocations: 4 kB / 1.068 GB, free: 11.26 MB / 0.8419 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.423e-05/0.3245, allocations: 109.8 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.3246, allocations: 11.94 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.3246, allocations: 3.5 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3246, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.3246, allocations: 7.938 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3246, allocations: 7.938 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.3247, allocations: 153.6 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.3248, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.3248, allocations: 4 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3248, allocations: 3.938 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.3248, allocations: 4 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3248, allocations: 0 / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3248, allocations: 3.984 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.325, allocations: 85.06 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.325, allocations: 85.02 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.325, allocations: 7.922 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.09e-05/0.3251, allocations: 0 / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.3251, allocations: 0 / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.3251, allocations: 4 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.947e-05/0.3251, allocations: 75.28 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.074e-06/0.3251, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002372/0.3254, allocations: 35.92 kB / 1.068 GB, free: 10.57 MB / 0.8419 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.0003434/0.3257, allocations: 158.6 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.3259, allocations: 35.92 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3259, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.654e-05/0.3259, allocations: 8 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.326, allocations: 4 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.3263, allocations: 131 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.3266, allocations: 0.6729 MB / 1.069 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.3266, allocations: 11.44 kB / 1.069 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.3266, allocations: 0 / 1.069 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.002852/0.3295, allocations: 1.154 MB / 1.07 GB, free: 8.348 MB / 0.8419 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches