Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.00122/0.00122, allocations: 113.9 kB / 16.41 MB, free: 6.492 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.001156/0.001156, allocations: 183 kB / 17.34 MB, free: 5.762 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.61/2.61, allocations: 461.9 MB / 0.7355 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.89 kB / 1.055 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7274/0.7287, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002149/0.7309, allocations: 1.205 MB / 1.21 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007456/0.7317, allocations: 382.7 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/0.7318, allocations: 0 / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.7318, allocations: 4 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.993e-05/0.7318, allocations: 0 / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.7324, allocations: 91.66 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.412e-05/0.7324, allocations: 15.98 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.7325, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.389e-05/0.7325, allocations: 11.92 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.044e-05/0.7326, allocations: 15.92 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.7326, allocations: 0 / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.7328, allocations: 87.91 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.7328, allocations: 7.984 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.7328, allocations: 4 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.733, allocations: 91.77 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.733, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.733, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.733, allocations: 0 / 1.21 GB, free: 11.77 MB / 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.0004426/0.7335, allocations: 373.2 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.7335, allocations: 8.031 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.7336, allocations: 0.9375 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.7337, allocations: 172.1 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.7337, allocations: 8.375 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.7337, allocations: 4.375 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.726e-05/0.7338, allocations: 38.19 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.7338, allocations: 192 / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.7339, allocations: 7.922 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.7339, allocations: 0 / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.074e-05/0.7339, allocations: 7.938 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001366/0.734, allocations: 153.7 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.456e-05/0.7341, allocations: 34.61 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/0.7342, allocations: 12.86 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.7342, allocations: 0 / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.7343, allocations: 51.5 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.7343, allocations: 0 / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.000192/0.7345, allocations: 73.55 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.7346, allocations: 55.41 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.382e-05/0.7346, allocations: 101.8 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.7347, allocations: 29.7 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.7347, allocations: 80.14 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.7347, allocations: 7.906 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.7348, allocations: 21.7 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.241e-05/0.7349, allocations: 314.8 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.7349, allocations: 8.125 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.48e-05/0.7349, allocations: 39.41 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.033e-05/0.735, allocations: 47.38 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.735, allocations: 0 / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001012/0.7351, allocations: 77.64 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.7351, allocations: 11.94 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.7352, allocations: 3.984 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.7352, allocations: 0 / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.334e-05/0.7352, allocations: 8 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.7353, allocations: 0 / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.756e-05/0.7353, allocations: 4 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.7353, allocations: 0 / 1.212 GB, free: 9.797 MB / 0.9356 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.41e-05/0.7354, allocations: 115.4 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.7354, allocations: 8.031 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.7354, allocations: 11.48 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.7354, allocations: 0 / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.7354, allocations: 7.875 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.7354, allocations: 0 / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.7356, allocations: 155.5 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7356, allocations: 0 / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.236e-05/0.7356, allocations: 0 / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.7356, allocations: 7.938 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.7356, allocations: 4 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.7356, allocations: 4 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7356, allocations: 0 / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.7357, allocations: 89.02 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.7358, allocations: 77.11 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.7358, allocations: 7.938 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.012e-05/0.7358, allocations: 0 / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.7359, allocations: 3.984 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.7359, allocations: 4 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.098e-05/0.7359, allocations: 83.28 kB / 1.212 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.754e-06/0.7359, allocations: 0 / 1.212 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002639/0.7362, allocations: 27.94 kB / 1.213 GB, free: 9.105 MB / 0.9356 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.0003044/0.7365, allocations: 158.6 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.7366, allocations: 28.08 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.7366, allocations: 0 / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.598e-05/0.7367, allocations: 15.92 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.7368, allocations: 8 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.737, allocations: 130.5 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.7372, allocations: 0.6768 MB / 1.213 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.658e-05/0.7373, allocations: 7.438 kB / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of SimCode: time 1.523e-06/0.7373, allocations: 0 / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of Templates: time 0.002959/0.7402, allocations: 1.151 MB / 1.215 GB, free: 6.887 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches