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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001711, allocations: 115.5 kB / 17.08 MB, free: 5.977 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.001994/0.001994, allocations: 193.2 kB / 20.03 MB, free: 3.047 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.416/1.416, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 437.1 MB / 0.7177 GB, free: 4.496 MB / 0.5606 GB " [Timeout remaining time 177] 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=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 67.91 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2949, allocations: 151.6 MB / 1.176 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002467/0.2974, allocations: 1.218 MB / 1.177 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008508/0.2982, allocations: 375.1 kB / 1.177 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.2983, allocations: 0 / 1.177 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.2983, allocations: 3.938 kB / 1.177 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.829e-05/0.2984, allocations: 0 / 1.177 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.2989, allocations: 99.64 kB / 1.177 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.271e-05/0.299, allocations: 15.98 kB / 1.177 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.299, allocations: 0 / 1.177 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.159e-05/0.2991, allocations: 7.984 kB / 1.177 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.925e-05/0.2991, allocations: 11.94 kB / 1.177 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.2991, allocations: 4 kB / 1.177 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.2993, allocations: 87.84 kB / 1.178 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.2994, allocations: 7.984 kB / 1.178 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.2994, allocations: 11.92 kB / 1.178 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.2996, allocations: 83.83 kB / 1.178 GB, free: 3.973 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2996, allocations: 0 / 1.178 GB, free: 3.973 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2996, allocations: 0 / 1.178 GB, free: 3.973 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2996, allocations: 0 / 1.178 GB, free: 3.973 MB / 0.92 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.0005722/0.3002, allocations: 380.9 kB / 1.178 GB, free: 3.543 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.3002, allocations: 12.03 kB / 1.178 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.3003, allocations: 0.9375 kB / 1.178 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3004, allocations: 160.4 kB / 1.178 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.3004, allocations: 4.375 kB / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.3005, allocations: 4.375 kB / 1.178 GB, free: 3.328 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.3006, allocations: 42.19 kB / 1.178 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3006, allocations: 4.172 kB / 1.178 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.3006, allocations: 7.875 kB / 1.178 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3006, allocations: 0 / 1.178 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.021e-05/0.3006, allocations: 8 kB / 1.178 GB, free: 3.262 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.3008, allocations: 157.6 kB / 1.178 GB, free: 3.059 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.634e-05/0.3009, allocations: 30.61 kB / 1.178 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.301, allocations: 20.84 kB / 1.178 GB, free: 2.996 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.301, allocations: 3.938 kB / 1.178 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.3011, allocations: 55.5 kB / 1.179 GB, free: 2.926 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.3011, allocations: 0 / 1.179 GB, free: 2.926 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.00023/0.3014, allocations: 73.56 kB / 1.179 GB, free: 2.848 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.3014, allocations: 51.41 kB / 1.179 GB, free: 2.785 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.3015, allocations: 97.84 kB / 1.179 GB, free: 2.68 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-05/0.3016, allocations: 25.7 kB / 1.179 GB, free: 2.648 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.3017, allocations: 88.08 kB / 1.179 GB, free: 2.559 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.3017, allocations: 11.94 kB / 1.179 GB, free: 2.547 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.3017, allocations: 25.83 kB / 1.179 GB, free: 2.516 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3019, allocations: 314.8 kB / 1.179 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.3019, allocations: 4 kB / 1.179 GB, free: 2.195 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.426e-05/0.302, allocations: 39.41 kB / 1.179 GB, free: 2.145 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.005e-05/0.302, allocations: 47.38 kB / 1.179 GB, free: 2.086 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3021, allocations: 4 kB / 1.179 GB, free: 2.082 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000107/0.3022, allocations: 57.62 kB / 1.179 GB, free: 2.02 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3022, allocations: 11.94 kB / 1.179 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3022, allocations: 3.984 kB / 1.179 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3022, allocations: 0 / 1.179 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.3023, allocations: 15.94 kB / 1.179 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3023, allocations: 3.938 kB / 1.179 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.3023, allocations: 12.05 kB / 1.179 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3023, allocations: 0 / 1.179 GB, free: 1.973 MB / 0.92 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 9.891e-05/0.3024, allocations: 113.8 kB / 1.179 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.3025, allocations: 3.938 kB / 1.179 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.3025, allocations: 7.484 kB / 1.179 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3025, allocations: 4 kB / 1.179 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3025, allocations: 0 / 1.179 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3025, allocations: 0 / 1.179 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.3027, allocations: 153.7 kB / 1.18 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3027, allocations: 4 kB / 1.18 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.3027, allocations: 0 / 1.18 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3027, allocations: 3.938 kB / 1.18 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3027, allocations: 8 kB / 1.18 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3027, allocations: 0 / 1.18 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3027, allocations: 0 / 1.18 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.3029, allocations: 88.98 kB / 1.18 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.303, allocations: 81.06 kB / 1.18 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.303, allocations: 4.219 kB / 1.18 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.896e-05/0.303, allocations: 8 kB / 1.18 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.303, allocations: 3.984 kB / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.303, allocations: 0 / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.384e-05/0.3031, allocations: 79.28 kB / 1.18 GB, free: 1.32 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3031, allocations: 0 / 1.18 GB, free: 1.32 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002516/0.3034, allocations: 31.88 kB / 1.18 GB, free: 1.289 MB / 0.92 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.000377/0.3037, allocations: 151.9 kB / 1.18 GB, free: 1.141 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.3039, allocations: 31.92 kB / 1.18 GB, free: 1.109 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3039, allocations: 3.938 kB / 1.18 GB, free: 1.105 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.939e-05/0.3039, allocations: 11.98 kB / 1.18 GB, free: 1.094 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.3041, allocations: 8 kB / 1.18 GB, free: 1.086 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.3043, allocations: 122.6 kB / 1.18 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3047, allocations: 0.6847 MB / 1.181 GB, free: 228 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/0.3047, allocations: 7.438 kB / 1.181 GB, free: 220 kB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.3047, allocations: 0 / 1.181 GB, free: 220 kB / 0.92 GB Notification: Performance of Templates: time 0.003207/0.3079, allocations: 1.155 MB / 1.182 GB, free: 15.06 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile [Timeout 300] (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) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.6862019529799]