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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 161.4 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9938/0.9938, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.9/1.9, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.184e-06/2.184e-06, allocations: 0 / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.023e-05/3.241e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.003122/0.003155, allocations: 1.257 MB / 0.7883 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008859/0.004041, allocations: 384.3 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.004073, allocations: 4 kB / 0.7887 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.004101, allocations: 3.938 kB / 0.7887 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.921e-05/0.00414, allocations: 2.375 kB / 0.7887 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006833/0.004823, allocations: 107.5 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.307e-05/0.004896, allocations: 11.98 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.004941, allocations: 4 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.355e-05/0.004985, allocations: 4 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.412e-05/0.005019, allocations: 17.75 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.005036, allocations: 0 / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.005334, allocations: 123.7 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.005354, allocations: 3.984 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.005387, allocations: 7.984 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.005606, allocations: 104.2 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.00561, allocations: 1.469 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.222e-06/0.005611, allocations: 0 / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.005616, allocations: 0 / 0.789 GB, free: 10.52 MB / 0.7448 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.0005316/0.006147, allocations: 393.9 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.006202, allocations: 13.39 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.006254, allocations: 8.938 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.006365, allocations: 108.9 kB / 0.7895 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.006392, allocations: 2.125 kB / 0.7895 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.006408, allocations: 4.375 kB / 0.7895 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.00654, allocations: 46.95 kB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.006554, allocations: 192 / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.006566, allocations: 384 / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.006576, allocations: 1.469 kB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.433e-05/0.0066, allocations: 19.86 kB / 0.7896 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.006746, allocations: 112.6 kB / 0.7897 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.416e-05/0.006841, allocations: 39.59 kB / 0.7897 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.00687, allocations: 17.61 kB / 0.7898 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.006878, allocations: 0 / 0.7898 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/0.006992, allocations: 65.08 kB / 0.7898 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.006993, allocations: 6.594 kB / 0.7898 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002241/0.007218, allocations: 61.67 kB / 0.7899 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.007262, allocations: 51.41 kB / 0.7899 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.007366, allocations: 161.9 kB / 0.7901 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.007381, allocations: 25.7 kB / 0.7901 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.007429, allocations: 126.9 kB / 0.7902 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.007458, allocations: 16.66 kB / 0.7903 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.007502, allocations: 23.38 kB / 0.7903 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.007652, allocations: 492.7 kB / 0.7907 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-05/0.007675, allocations: 9.641 kB / 0.7908 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5e-05/0.007725, allocations: 46.69 kB / 0.7908 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.007797, allocations: 51.3 kB / 0.7908 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.0078, allocations: 3.938 kB / 0.7909 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001146/0.007915, allocations: 70.95 kB / 0.7909 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.00793, allocations: 4 kB / 0.7909 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.007938, allocations: 9.094 kB / 0.7909 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.007956, allocations: 0 / 0.7909 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.614e-05/0.008053, allocations: 12 kB / 0.7909 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.008064, allocations: 12.92 kB / 0.791 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.008089, allocations: 0 / 0.791 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.008102, allocations: 12.83 kB / 0.791 GB, free: 8.301 MB / 0.7448 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.641e-05/0.008189, allocations: 156.5 kB / 0.7911 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.008205, allocations: 5.281 kB / 0.7911 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.008242, allocations: 7.688 kB / 0.7911 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.008245, allocations: 0 / 0.7911 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.008248, allocations: 0.8438 kB / 0.7911 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.008254, allocations: 7.938 kB / 0.7911 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.008359, allocations: 108.6 kB / 0.7912 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.008362, allocations: 5.156 kB / 0.7912 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.301e-05/0.008375, allocations: 0 / 0.7912 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.008378, allocations: 0 / 0.7912 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-06/0.008385, allocations: 1.375 kB / 0.7912 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.008387, allocations: 0 / 0.7912 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.008388, allocations: 4 kB / 0.7913 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.008528, allocations: 105.8 kB / 0.7914 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.008538, allocations: 7.938 kB / 0.7914 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.008551, allocations: 288 / 0.7914 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.984e-05/0.00858, allocations: 3.984 kB / 0.7914 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.008605, allocations: 0 / 0.7914 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.008613, allocations: 6.844 kB / 0.7914 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.604e-05/0.008659, allocations: 123.1 kB / 0.7915 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008659, allocations: 0 / 0.7915 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003241/0.008983, allocations: 31.92 kB / 0.7915 GB, free: 7.672 MB / 0.7448 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.0004373/0.00942, allocations: 178.7 kB / 0.7917 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.009545, allocations: 31.61 kB / 0.7917 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009546, allocations: 1.094 kB / 0.7917 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.292e-05/0.009579, allocations: 19.69 kB / 0.7917 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.009745, allocations: 8.641 kB / 0.7917 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.01003, allocations: 110.3 kB / 0.7919 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.728e-05/0.01007, allocations: 52.05 kB / 0.7919 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.631e-05/0.0101, allocations: 6.844 kB / 0.7919 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.01012, allocations: 12.48 kB / 0.7919 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of SimCode: time 7.32e-07/0.01012, allocations: 0 / 0.7919 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of Templates: time 0.003687/0.01381, allocations: 1.008 MB / 0.7929 GB, free: 6.23 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","",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 filterSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/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.ref.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.28197100572288]