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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009518/0.0009518, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009331/0.0009332, allocations: 182 kB / 16.92 MB, free: 6.922 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.371/1.371, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.599/2.599, allocations: 437.8 MB / 0.7128 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004051, allocations: 12.23 kB / 0.8735 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6467/0.6471, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001656/0.6488, allocations: 0.9371 MB / 1.025 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009031/0.6497, allocations: 382.9 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.6498, allocations: 3.938 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.6498, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.001e-05/0.6499, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/0.6504, allocations: 79.8 kB / 1.025 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.785e-05/0.6505, allocations: 8 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.6505, allocations: 7.984 kB / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.563e-05/0.6505, allocations: 11.98 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.107e-05/0.6506, allocations: 7.938 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.6506, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.6508, allocations: 91.84 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.6508, allocations: 3.984 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.774e-05/0.6509, allocations: 37.64 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.6511, allocations: 55.91 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6511, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6511, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.6511, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 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.0004847/0.6516, allocations: 369.2 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.6516, allocations: 12.03 kB / 1.026 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.6517, allocations: 4.922 kB / 1.026 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.6518, allocations: 162.4 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.6518, allocations: 4.375 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.6519, allocations: 384 / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.652, allocations: 38.25 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.652, allocations: 192 / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.652, allocations: 15.88 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.652, allocations: 0 / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.511e-05/0.6521, allocations: 11.92 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.6523, allocations: 149.7 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.169e-05/0.6523, allocations: 26.58 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.535e-05/0.6524, allocations: 16.88 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.6524, allocations: 4 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.6526, allocations: 63.33 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.6526, allocations: 0 / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002244/0.6528, allocations: 69.61 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.6529, allocations: 51.41 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.6529, allocations: 105.8 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.653, allocations: 25.7 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.653, allocations: 84.27 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.653, allocations: 11.84 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.6531, allocations: 13.72 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.6532, allocations: 314.8 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.6532, allocations: 7.984 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4e-05/0.6533, allocations: 35.38 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.944e-05/0.6533, allocations: 51.59 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6533, allocations: 4 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000116/0.6535, allocations: 65.56 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.6535, allocations: 11.94 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6535, allocations: 0 / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.6535, allocations: 0 / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.764e-05/0.6536, allocations: 16.09 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.6536, allocations: 3.984 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.609e-05/0.6536, allocations: 4 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.6537, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.7794 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.628e-05/0.6537, allocations: 117.8 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.6538, allocations: 7.844 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.6538, allocations: 3.5 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.6538, allocations: 4 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6538, allocations: 0 / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6538, allocations: 4 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.654, allocations: 153.7 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.654, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.206e-05/0.654, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.654, allocations: 7.922 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.654, allocations: 4 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.654, allocations: 3.938 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6541, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.6542, allocations: 89.05 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.6543, allocations: 77.11 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.6543, allocations: 3.938 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.29e-05/0.6543, allocations: 4 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.6543, allocations: 3.938 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.6544, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.092e-05/0.6544, allocations: 83.27 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6544, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002506/0.6547, allocations: 28 kB / 1.027 GB, free: 11.61 MB / 0.7794 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.0003514/0.655, allocations: 166 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.6551, allocations: 27.92 kB / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6551, allocations: 0 / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.6552, allocations: 8 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.6553, allocations: 13.92 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.6556, allocations: 132.5 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.6559, allocations: 0.6809 MB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.6559, allocations: 11.42 kB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6559, allocations: 0 / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of Templates: time 0.003068/0.659, allocations: 1.137 MB / 1.03 GB, free: 9.383 MB / 0.7794 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches