Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007603/0.007603, allocations: 101.1 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 193.5 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.614/2.614, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001428, allocations: 61.72 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2946, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002496/0.2972, allocations: 1.265 MB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007937/0.298, allocations: 386.8 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.298, allocations: 0 / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.2981, allocations: 0 / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.69e-05/0.2981, allocations: 0 / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.2986, allocations: 87.78 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.47e-05/0.2987, allocations: 11.98 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.2987, allocations: 4 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.2987, allocations: 7.938 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.532e-05/0.2988, allocations: 7.984 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.2988, allocations: 4 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.299, allocations: 87.84 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.299, allocations: 4 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.299, allocations: 15.91 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.2992, allocations: 55.92 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2992, allocations: 4 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.21e-07/0.2992, allocations: 0 / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2992, allocations: 0 / 1.055 GB, free: 6.34 MB / 0.8106 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.000474/0.2997, allocations: 374.9 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2997, allocations: 11.97 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.2998, allocations: 0.9375 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.2999, allocations: 172.6 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.2999, allocations: 384 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.2999, allocations: 384 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.3, allocations: 50.19 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.3001, allocations: 192 / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3001, allocations: 7.922 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3001, allocations: 4 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.008e-05/0.3001, allocations: 4 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.3003, allocations: 153.7 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.934e-05/0.3004, allocations: 30.61 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/0.3004, allocations: 16.8 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.3004, allocations: 0 / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.3006, allocations: 55.48 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3006, allocations: 0 / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002066/0.3008, allocations: 73.52 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.3008, allocations: 51.41 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.553e-05/0.3009, allocations: 105.8 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.3009, allocations: 25.7 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.301, allocations: 80.14 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.301, allocations: 15.89 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.301, allocations: 17.72 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.3011, allocations: 310.8 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.3012, allocations: 15.92 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.744e-05/0.3012, allocations: 35.56 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.783e-05/0.3013, allocations: 43.36 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3013, allocations: 4 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001043/0.3014, allocations: 61.62 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3014, allocations: 16.03 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3014, allocations: 0 / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3014, allocations: 0 / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.639e-05/0.3015, allocations: 11.94 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3015, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.3016, allocations: 15.89 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.3016, allocations: 3.938 kB / 1.056 GB, free: 4.352 MB / 0.8106 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 7.423e-05/0.3017, allocations: 109.8 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.3017, allocations: 3.938 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.3017, allocations: 11.5 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3017, allocations: 4 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3017, allocations: 0 / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3017, allocations: 0 / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.3018, allocations: 157.6 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3019, allocations: 0 / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.164e-05/0.3019, allocations: 0 / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3019, allocations: 3.938 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3019, allocations: 8.219 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3019, allocations: 0 / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3019, allocations: 0 / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.302, allocations: 93.05 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.3021, allocations: 81.09 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.3021, allocations: 3.938 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.245e-05/0.3021, allocations: 8 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.3022, allocations: 0 / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.3022, allocations: 0 / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.987e-05/0.3022, allocations: 79.28 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3022, allocations: 4.094 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002443/0.3025, allocations: 31.98 kB / 1.057 GB, free: 3.668 MB / 0.8106 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.0003236/0.3028, allocations: 156.9 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.3029, allocations: 27.92 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3029, allocations: 192 / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-05/0.303, allocations: 16 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.3031, allocations: 4.938 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.3034, allocations: 143.3 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.3036, allocations: 0.677 MB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.3036, allocations: 7.438 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.3036, allocations: 0 / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of Templates: time 0.002821/0.3065, allocations: 1.14 MB / 1.059 GB, free: 1.445 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches