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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 189 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.873/2.873, allocations: 476.7 MB / 0.7646 GB, free: 9.848 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 63.89 kB / 1.109 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9304/0.9324, allocations: 168.8 MB / 1.274 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002423/0.9349, allocations: 1.206 MB / 1.275 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000843/0.9357, allocations: 394.7 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/0.9357, allocations: 0 / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.051e-05/0.9357, allocations: 0 / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.627e-05/0.9358, allocations: 3.984 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.9364, allocations: 99.64 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.547e-05/0.9364, allocations: 23.98 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.9365, allocations: 3.984 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.756e-05/0.9365, allocations: 4 kB / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.004e-05/0.9365, allocations: 15.92 kB / 1.276 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.9365, allocations: 0 / 1.276 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000271/0.9368, allocations: 123.8 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.9368, allocations: 4 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.9368, allocations: 11.92 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.937, allocations: 83.55 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.937, allocations: 0 / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.937, allocations: 0 / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.937, allocations: 4 kB / 1.276 GB, free: 2.207 MB / 0.9669 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.0005121/0.9376, allocations: 306.5 kB / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.9376, allocations: 8.031 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.9376, allocations: 8.875 kB / 1.277 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.9378, allocations: 110.4 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.9378, allocations: 4.359 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.9378, allocations: 4.375 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.9379, allocations: 38.25 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.9379, allocations: 4.188 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.9379, allocations: 3.938 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.9379, allocations: 0 / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.824e-05/0.938, allocations: 4 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.9381, allocations: 124.8 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/0.9382, allocations: 34.55 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.014e-05/0.9382, allocations: 8.859 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.9383, allocations: 4 kB / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.9384, allocations: 59.44 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.9384, allocations: 0 / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002142/0.9386, allocations: 73.55 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.9387, allocations: 51.41 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.981e-05/0.9388, allocations: 97.86 kB / 1.277 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.9388, allocations: 29.83 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.9388, allocations: 80.14 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.9388, allocations: 11.95 kB / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.9389, allocations: 25.69 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.939, allocations: 314.8 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.939, allocations: 8 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.822e-05/0.9391, allocations: 27.42 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.81e-05/0.9391, allocations: 55.55 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9391, allocations: 0 / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001122/0.9393, allocations: 73.56 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.9393, allocations: 7.938 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.9393, allocations: 160 / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.9393, allocations: 8.094 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.66e-05/0.9394, allocations: 11.94 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.9394, allocations: 3.984 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.9394, allocations: 4 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.9394, allocations: 4 kB / 1.278 GB, free: 424 kB / 0.9669 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.857e-05/0.9395, allocations: 121.7 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.9395, allocations: 7.938 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.148e-05/0.9395, allocations: 3.688 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.9395, allocations: 4 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.9395, allocations: 0 / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.9395, allocations: 0 / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.9397, allocations: 124.8 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9397, allocations: 0 / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.325e-05/0.9397, allocations: 7.938 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.9397, allocations: 3.938 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.9397, allocations: 0 / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.9397, allocations: 3.938 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9397, allocations: 0 / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.9398, allocations: 89.06 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.9399, allocations: 4 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.9399, allocations: 11.92 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.9399, allocations: 0 / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.9399, allocations: 0 / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.9399, allocations: 4 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.418e-05/0.94, allocations: 75.28 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.94, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002391/0.9402, allocations: 40.02 kB / 1.278 GB, free: 15.85 MB / 0.9825 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.000411/0.9406, allocations: 152.7 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.9407, allocations: 27.92 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.9407, allocations: 0 / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.003e-05/0.9408, allocations: 15.94 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.9409, allocations: 4.188 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002551/0.9412, allocations: 108.8 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.9415, allocations: 0.6729 MB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.858e-05/0.9415, allocations: 7.938 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.78e-05/0.9415, allocations: 7.438 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.9415, allocations: 4 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of Templates: time 0.003767/0.9453, allocations: 0.984 MB / 1.28 GB, free: 13.82 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile [Timeout 300] (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) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:seed,t0,time,y [Calling sys.exit(0), Time elapsed: 9.158223771490157]