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.0008988/0.0008989, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00594/0.005941, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.578/1.578, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.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.943/2.943, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003788, allocations: 8 kB / 0.8728 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7685/0.7689, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001335/0.7703, allocations: 0.9331 MB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007905/0.7711, allocations: 382.8 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.685e-05/0.7711, allocations: 4 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.228e-05/0.7711, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.997e-05/0.7712, allocations: 4 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.7716, allocations: 79.78 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.113e-05/0.7717, allocations: 15.98 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.7717, allocations: 0 / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.048e-05/0.7717, allocations: 4 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.371e-05/0.7718, allocations: 15.92 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.7718, allocations: 0 / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.772, allocations: 87.84 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.772, allocations: 4 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.7721, allocations: 41.61 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.7722, allocations: 75.91 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7723, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7723, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.7723, allocations: 4 kB / 1.025 GB, free: 14.19 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.0005325/0.7728, allocations: 369.1 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.7729, allocations: 12.03 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.7729, allocations: 0.9375 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.773, allocations: 162.4 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.7731, allocations: 4.375 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.7731, allocations: 4.375 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.7732, allocations: 50.16 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.7732, allocations: 4.188 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.7732, allocations: 3.938 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.7732, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.415e-05/0.7733, allocations: 4 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.7735, allocations: 149.7 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.182e-05/0.7736, allocations: 30.61 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.7736, allocations: 16.86 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-06/0.7736, allocations: 3.938 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.7738, allocations: 55.48 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.7738, allocations: 0 / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002233/0.774, allocations: 65.62 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.7741, allocations: 55.39 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/0.7742, allocations: 105.8 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.7742, allocations: 29.64 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.7742, allocations: 80.14 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.7743, allocations: 11.84 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.7743, allocations: 17.7 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.7744, allocations: 318.8 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.7745, allocations: 7.984 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.69e-05/0.7745, allocations: 39.55 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.468e-05/0.7746, allocations: 43.38 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7746, allocations: 4 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001052/0.7747, allocations: 61.62 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.7747, allocations: 16.03 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.7748, allocations: 3.984 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.7748, allocations: 3.938 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.372e-05/0.7748, allocations: 8 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.7748, allocations: 3.938 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.622e-05/0.7749, allocations: 8 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.7749, allocations: 0 / 1.026 GB, free: 12.22 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.718e-05/0.775, allocations: 115.5 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.775, allocations: 7.844 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.775, allocations: 11.48 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.775, allocations: 4 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.775, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.7751, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.7752, allocations: 153.7 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7752, allocations: 240 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.7752, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.7752, allocations: 3.938 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.7752, allocations: 4 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7753, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7753, allocations: 7.984 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.7754, allocations: 85.05 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.7755, allocations: 77.11 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.7755, allocations: 7.938 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.906e-05/0.7755, allocations: 0 / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.7755, allocations: 3.984 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.7755, allocations: 0 / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.557e-05/0.7756, allocations: 83.28 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7756, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002342/0.7758, allocations: 28 kB / 1.027 GB, free: 11.54 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.0003527/0.7762, allocations: 159.1 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.7763, allocations: 31.86 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7763, allocations: 4.281 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.365e-05/0.7764, allocations: 11.98 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.7765, allocations: 8 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.7768, allocations: 103.3 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.7771, allocations: 0.6809 MB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.859e-05/0.7771, allocations: 4 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.7771, allocations: 7.438 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of SimCode: time 6.62e-07/0.7772, allocations: 8 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.003713/0.7809, allocations: 0.9374 MB / 1.029 GB, free: 9.543 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=400 -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