Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.001512/0.001512, allocations: 107.3 kB / 16.41 MB, free: 6.469 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.001737/0.001737, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 59.91 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8995/0.9009, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.0022/0.9031, allocations: 1.208 MB / 1.09 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.9041, allocations: 384.4 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.9042, allocations: 0 / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.512e-05/0.9042, allocations: 0 / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.515e-05/0.9043, allocations: 0 / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006071/0.9049, allocations: 99.08 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.858e-05/0.905, allocations: 17.77 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.696e-05/0.905, allocations: 5.891 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.858e-05/0.9051, allocations: 9.609 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.376e-05/0.9051, allocations: 4.812 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.9051, allocations: 0.9688 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.9054, allocations: 92.95 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.9054, allocations: 7.141 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.9055, allocations: 7.469 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.9057, allocations: 84.61 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.9058, allocations: 1.609 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9058, allocations: 0 / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.9058, allocations: 0 / 1.09 GB, free: 4.316 MB / 0.8575 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.0005694/0.9064, allocations: 371.2 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.9064, allocations: 9.875 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.9065, allocations: 2.578 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.992e-05/0.9066, allocations: 174.6 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.9066, allocations: 1.562 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.9066, allocations: 3.328 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.9067, allocations: 39.14 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.9067, allocations: 1.062 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.9068, allocations: 12.5 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.9068, allocations: 1.031 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.046e-05/0.9068, allocations: 4.141 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.9069, allocations: 153.4 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.315e-05/0.907, allocations: 32.83 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.9071, allocations: 11.06 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.9071, allocations: 0.7969 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.9072, allocations: 61.48 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.565e-06/0.9072, allocations: 0 / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002206/0.9075, allocations: 75.86 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.9075, allocations: 52.92 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6e-05/0.9076, allocations: 98.45 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.9076, allocations: 27.3 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.006e-05/0.9076, allocations: 84.27 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.9076, allocations: 10.3 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.9077, allocations: 21.47 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.663e-05/0.9077, allocations: 313 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.9078, allocations: 10.48 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.278e-05/0.9078, allocations: 28.64 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.899e-05/0.9079, allocations: 54.2 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9079, allocations: 1.156 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.513e-05/0.908, allocations: 65.42 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.908, allocations: 8.469 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.908, allocations: 1.25 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.908, allocations: 1.875 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.838e-05/0.9081, allocations: 15.75 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.9081, allocations: 1.922 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.574e-05/0.9081, allocations: 6.219 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.9082, allocations: 6.406 kB / 1.092 GB, free: 2.559 MB / 0.8575 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.888e-05/0.9082, allocations: 109.2 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.9082, allocations: 6.203 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.9083, allocations: 4.156 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.9083, allocations: 1.094 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9083, allocations: 5.062 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.9083, allocations: 0.5156 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.014e-05/0.9084, allocations: 158.8 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.9084, allocations: 1.062 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.123e-05/0.9084, allocations: 5.859 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.9084, allocations: 5 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.9084, allocations: 1.891 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.9084, allocations: 3.938 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9084, allocations: 1.125 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.9086, allocations: 88.73 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.9086, allocations: 81.72 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.9086, allocations: 10.11 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.217e-05/0.9086, allocations: 8.703 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.9087, allocations: 2.031 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.9087, allocations: 2.078 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.137e-05/0.9087, allocations: 78.48 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9087, allocations: 0 / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002694/0.909, allocations: 31.31 kB / 1.093 GB, free: 1.949 MB / 0.8575 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.0003252/0.9093, allocations: 163.6 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.9094, allocations: 29.44 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9095, allocations: 0 / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.999e-05/0.9095, allocations: 17.28 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.9097, allocations: 9 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.9099, allocations: 123.1 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.91, allocations: 0.6756 MB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.658e-05/0.9101, allocations: 17.89 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.9101, allocations: 1.062 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of Templates: time 0.003102/0.9132, allocations: 1.146 MB / 1.095 GB, free: 0.8594 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches