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.001695/0.001695, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.002122/0.002122, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.523/1.523, allocations: 225.6 MB / 248.5 MB, free: 3.641 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.556/2.556, allocations: 443.5 MB / 0.7293 GB, free: 14.69 MB / 0.5763 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.001968/0.001968, allocations: 64.08 kB / 1.057 GB, free: 2.16 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.295, allocations: 160.7 MB / 1.214 GB, free: 1.129 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002322/0.2973, allocations: 1.204 MB / 1.215 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008929/0.2982, allocations: 386.8 kB / 1.216 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.876e-05/0.2982, allocations: 7.875 kB / 1.216 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.291e-05/0.2982, allocations: 0 / 1.216 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.279e-05/0.2983, allocations: 3.984 kB / 1.216 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.2987, allocations: 91.67 kB / 1.216 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.202e-05/0.2988, allocations: 23.92 kB / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.295e-05/0.2988, allocations: 0 / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.08e-05/0.2988, allocations: 7.984 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.278e-05/0.2989, allocations: 7.984 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.2989, allocations: 0 / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.2991, allocations: 107.8 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.2991, allocations: 3.938 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.2991, allocations: 4 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.2993, allocations: 87.75 kB / 1.216 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2993, allocations: 0 / 1.216 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2993, allocations: 4 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.2993, allocations: 0 / 1.216 GB, free: 15.18 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.0005295/0.2999, allocations: 377 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2999, allocations: 8.75 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.2999, allocations: 4.938 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.3001, allocations: 160.4 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.3001, allocations: 8.312 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.3001, allocations: 4.375 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.3002, allocations: 46.23 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3002, allocations: 192 / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3002, allocations: 3.938 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3002, allocations: 0 / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.85e-05/0.3002, allocations: 4 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.3004, allocations: 157.6 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.496e-05/0.3005, allocations: 34.55 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.3005, allocations: 16.78 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.3005, allocations: 4 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.3007, allocations: 55.48 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3007, allocations: 0 / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.000202/0.3009, allocations: 69.58 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.3009, allocations: 63.33 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.301, allocations: 93.86 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3011, allocations: 29.83 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.3011, allocations: 84.14 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.3011, allocations: 7.953 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.3012, allocations: 21.7 kB / 1.217 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.3014, allocations: 310.8 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.3014, allocations: 11.94 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.041e-05/0.3014, allocations: 35.42 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.196e-05/0.3015, allocations: 43.38 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3015, allocations: 4 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001098/0.3016, allocations: 65.61 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3016, allocations: 11.94 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3016, allocations: 4.094 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3016, allocations: 0 / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.3017, allocations: 15.94 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3017, allocations: 0 / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.68e-05/0.3017, allocations: 7.953 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.3017, allocations: 0 / 1.218 GB, free: 13.2 MB / 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.522e-05/0.3018, allocations: 113.8 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.3018, allocations: 7.938 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.3019, allocations: 3.5 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3019, allocations: 8 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.3019, allocations: 0 / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3019, allocations: 0 / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.302, allocations: 153.7 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.302, allocations: 0 / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.129e-05/0.302, allocations: 0 / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.302, allocations: 3.938 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.302, allocations: 8 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.302, allocations: 4.094 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.302, allocations: 0 / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.3022, allocations: 89.05 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.3022, allocations: 81.06 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.3023, allocations: 11.92 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.016e-05/0.3023, allocations: 4.281 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.3023, allocations: 0 / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.3023, allocations: 0 / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.101e-05/0.3023, allocations: 79.28 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3023, allocations: 0 / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002445/0.3026, allocations: 39.95 kB / 1.218 GB, free: 12.5 MB / 0.9669 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.000342/0.3029, allocations: 159.5 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.303, allocations: 31.92 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.3031, allocations: 0 / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.709e-05/0.3031, allocations: 12.17 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.3032, allocations: 6.438 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/0.3035, allocations: 134.5 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.3038, allocations: 0.6807 MB / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.3038, allocations: 7.438 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.3038, allocations: 0 / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of Templates: time 0.003044/0.3069, allocations: 1.147 MB / 1.22 GB, free: 10.28 MB / 0.9669 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.770540417172015]