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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_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.001365/0.001366, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.00141/0.00141, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 469.8 MB / 0.743 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 66.95 kB / 0.9092 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.32, allocations: 159.1 MB / 1.065 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002337/0.3224, allocations: 1.204 MB / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007754/0.3232, allocations: 394.7 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.3232, allocations: 3.938 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.3232, allocations: 0 / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.121e-05/0.3233, allocations: 0 / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004808/0.3238, allocations: 91.66 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.894e-05/0.3238, allocations: 19.97 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.3239, allocations: 8 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.3239, allocations: 4 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3e-05/0.3239, allocations: 7.922 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.324, allocations: 0 / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.3242, allocations: 95.84 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.3242, allocations: 4 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.3242, allocations: 11.92 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.3244, allocations: 75.89 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3244, allocations: 3.938 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.196e-06/0.3244, allocations: 3.984 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3244, allocations: 0 / 1.066 GB, free: 12.89 MB / 0.8419 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.0004998/0.3249, allocations: 373.2 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.325, allocations: 8.031 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.325, allocations: 4.938 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.3251, allocations: 168.6 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.3252, allocations: 4.312 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.3252, allocations: 4.375 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.3253, allocations: 38.25 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.3253, allocations: 192 / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3253, allocations: 7.938 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3253, allocations: 0 / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.281e-05/0.3254, allocations: 7.984 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.3255, allocations: 157.6 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.133e-05/0.3256, allocations: 30.52 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.3257, allocations: 12.94 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.3257, allocations: 0 / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.3258, allocations: 55.41 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 3.317e-06/0.3259, allocations: 3.984 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0001945/0.3261, allocations: 69.61 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.3261, allocations: 55.34 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.333e-05/0.3262, allocations: 97.86 kB / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.3262, allocations: 25.7 kB / 1.068 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.3263, allocations: 92.25 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.3263, allocations: 7.906 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.3263, allocations: 17.72 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3265, allocations: 314.8 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/0.3265, allocations: 11.98 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.3265, allocations: 31.44 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.519e-05/0.3266, allocations: 47.36 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3266, allocations: 0 / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000108/0.3267, allocations: 65.62 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3267, allocations: 11.88 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3268, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3268, allocations: 4 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.261e-05/0.3268, allocations: 16.02 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3269, allocations: 4 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.566e-05/0.3269, allocations: 7.906 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.3269, allocations: 4 kB / 1.068 GB, free: 10.91 MB / 0.8419 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.328e-05/0.327, allocations: 105.8 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.327, allocations: 7.938 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.327, allocations: 11.44 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.327, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.3271, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3271, allocations: 4 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.3272, allocations: 157.6 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3272, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.69e-05/0.3272, allocations: 8 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.3272, allocations: 7.922 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.3273, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3273, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3273, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.3274, allocations: 93.05 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.3275, allocations: 85.02 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3275, allocations: 3.938 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.037e-05/0.3275, allocations: 0 / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.3275, allocations: 0 / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.495e-06/0.3275, allocations: 4 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.3276, allocations: 79.27 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3276, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002365/0.3278, allocations: 28 kB / 1.069 GB, free: 10.23 MB / 0.8419 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.0003527/0.3282, allocations: 164.7 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.3283, allocations: 35.92 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3283, allocations: 3.938 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.22e-05/0.3284, allocations: 8 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.3285, allocations: 9.641 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.3288, allocations: 131 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.3291, allocations: 0.6768 MB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.57e-05/0.3291, allocations: 11.44 kB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3291, allocations: 0 / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of Templates: time 0.002954/0.332, allocations: 1.147 MB / 1.071 GB, free: 7.996 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches