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.001808/0.001808, allocations: 102.2 kB / 18.93 MB, free: 2.957 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.001935/0.001935, allocations: 189.7 kB / 22.23 MB, free: 5.156 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.646/1.646, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002051/0.002051, allocations: 67.89 kB / 1.061 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.892/0.894, allocations: 160.8 MB / 1.218 GB, free: 3.66 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.00251/0.8965, allocations: 1.214 MB / 1.22 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008991/0.8974, allocations: 396.9 kB / 1.22 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.8975, allocations: 4.844 kB / 1.22 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.8975, allocations: 0 / 1.22 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.213e-05/0.8975, allocations: 3.938 kB / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005649/0.8981, allocations: 99.66 kB / 1.22 GB, free: 2.336 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.504e-05/0.8982, allocations: 15.03 kB / 1.22 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.8982, allocations: 1.781 kB / 1.22 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.372e-05/0.8982, allocations: 11.39 kB / 1.22 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.546e-05/0.8982, allocations: 3.219 kB / 1.22 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.8983, allocations: 1.406 kB / 1.22 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.8985, allocations: 139.4 kB / 1.22 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.8986, allocations: 5.047 kB / 1.22 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.8986, allocations: 11 kB / 1.22 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.8988, allocations: 76.44 kB / 1.22 GB, free: 2.184 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8988, allocations: 0 / 1.22 GB, free: 2.184 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8988, allocations: 0 / 1.22 GB, free: 2.184 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.8988, allocations: 0 / 1.22 GB, free: 2.184 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.0005541/0.8993, allocations: 392.9 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.8994, allocations: 9.375 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.8994, allocations: 2.031 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.8995, allocations: 164.4 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.8996, allocations: 2.656 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.8996, allocations: 2.875 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.8997, allocations: 45.92 kB / 1.221 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.8997, allocations: 5.531 kB / 1.221 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.8997, allocations: 3.938 kB / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.8997, allocations: 0 / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.884e-05/0.8998, allocations: 4.344 kB / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.8999, allocations: 155.9 kB / 1.221 GB, free: 1.305 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.019e-05/0.9, allocations: 25.73 kB / 1.221 GB, free: 1.277 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.9001, allocations: 13.27 kB / 1.221 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.9001, allocations: 0 / 1.221 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.9002, allocations: 60.98 kB / 1.221 GB, free: 1.203 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.9002, allocations: 0 / 1.221 GB, free: 1.203 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002122/0.9004, allocations: 72.36 kB / 1.221 GB, free: 1.148 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.9005, allocations: 52.62 kB / 1.221 GB, free: 1.086 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.532e-05/0.9006, allocations: 96.16 kB / 1.221 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.9006, allocations: 31.08 kB / 1.221 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.9006, allocations: 81.23 kB / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.9007, allocations: 5.016 kB / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.9007, allocations: 23.98 kB / 1.222 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.9009, allocations: 319 kB / 1.222 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.9009, allocations: 5.688 kB / 1.222 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-05/0.9009, allocations: 42.28 kB / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.84e-05/0.901, allocations: 44.69 kB / 1.222 GB, free: 440 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.901, allocations: 11.94 kB / 1.222 GB, free: 428 kB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001098/0.9011, allocations: 67.95 kB / 1.222 GB, free: 376 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.9011, allocations: 9.969 kB / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.9011, allocations: 1.25 kB / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.9012, allocations: 1.094 kB / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.847e-05/0.9012, allocations: 6.156 kB / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.9012, allocations: 1.156 kB / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.9013, allocations: 6.641 kB / 1.222 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.9013, allocations: 2.562 kB / 1.222 GB, free: 368 kB / 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.501e-05/0.9014, allocations: 131.9 kB / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.9014, allocations: 9.016 kB / 1.222 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.9014, allocations: 4.781 kB / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.9014, allocations: 0 / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9014, allocations: 1.031 kB / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.9014, allocations: 0 / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.9016, allocations: 153.9 kB / 1.222 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9016, allocations: 0 / 1.222 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.19e-05/0.9016, allocations: 2.094 kB / 1.222 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.9016, allocations: 7.938 kB / 1.222 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.9016, allocations: 1.062 kB / 1.222 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.9016, allocations: 1 kB / 1.222 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.9016, allocations: 3.938 kB / 1.222 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.9018, allocations: 85.27 kB / 1.222 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.9018, allocations: 82.38 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.9018, allocations: 4.938 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.958e-05/0.9019, allocations: 0 / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.9019, allocations: 10.08 kB / 1.223 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.9019, allocations: 1.188 kB / 1.223 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.475e-05/0.9019, allocations: 81.47 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9019, allocations: 0 / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002537/0.9022, allocations: 28.73 kB / 1.223 GB, free: 15.73 MB / 0.9356 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.0003695/0.9026, allocations: 172.2 kB / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.9027, allocations: 28.05 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.9027, allocations: 1.062 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.347e-05/0.9027, allocations: 6.312 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.9028, allocations: 8.25 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.9031, allocations: 112.3 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.9034, allocations: 0.6771 MB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.896e-05/0.9034, allocations: 6.281 kB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.598e-05/0.9034, allocations: 9.469 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.9034, allocations: 0 / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of Templates: time 0.003789/0.9072, allocations: 0.9837 MB / 1.225 GB, free: 14.23 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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] "" Variables in the reference:time,y Variables in the result:seed,t0,time,y [Calling sys.exit(0), Time elapsed: 9.120196350850165]