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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001414/0.001414, allocations: 104.8 kB / 16.37 MB, free: 6.469 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.00154/0.00154, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437.1 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 64.67 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3337, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002516/0.3363, allocations: 1.203 MB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008219/0.3371, allocations: 386.8 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.814e-05/0.3372, allocations: 0 / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.151e-05/0.3372, allocations: 3.938 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.732e-05/0.3372, allocations: 0 / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.3378, allocations: 95.66 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.58e-05/0.3379, allocations: 15.98 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.3379, allocations: 3.984 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.114e-05/0.338, allocations: 7.938 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.137e-05/0.338, allocations: 19.92 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.338, allocations: 0 / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.3382, allocations: 87.84 kB / 1.021 GB, free: 8.039 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.3382, allocations: 4 kB / 1.021 GB, free: 8.035 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.3383, allocations: 11.92 kB / 1.021 GB, free: 8.023 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.3385, allocations: 87.81 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3385, allocations: 0 / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3385, allocations: 0 / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3385, allocations: 0 / 1.021 GB, free: 7.938 MB / 0.795 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.0005319/0.339, allocations: 377.2 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3391, allocations: 8.922 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.3391, allocations: 0.9375 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.3393, allocations: 172.3 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.3393, allocations: 384 / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.3393, allocations: 8.312 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.3394, allocations: 38.23 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.3395, allocations: 192 / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3395, allocations: 3.938 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3395, allocations: 4 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.443e-05/0.3395, allocations: 11.98 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.3397, allocations: 155.2 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.347e-05/0.3398, allocations: 22.58 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.3398, allocations: 20.92 kB / 1.021 GB, free: 6.973 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.3398, allocations: 0 / 1.021 GB, free: 6.973 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.34, allocations: 55.41 kB / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.34, allocations: 0 / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002001/0.3402, allocations: 73.52 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.3402, allocations: 51.41 kB / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.111e-05/0.3403, allocations: 101.8 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.3403, allocations: 33.64 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.3404, allocations: 80.14 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.3404, allocations: 8.031 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.3405, allocations: 21.72 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3406, allocations: 318.8 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.3406, allocations: 12 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.3406, allocations: 31.42 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.82e-05/0.3407, allocations: 51.38 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3407, allocations: 0 / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.205e-05/0.3408, allocations: 61.62 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3408, allocations: 14.59 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3408, allocations: 0 / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3409, allocations: 3.938 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.3409, allocations: 15.92 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3409, allocations: 96 / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.341, allocations: 11.91 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.341, allocations: 0 / 1.022 GB, free: 5.953 MB / 0.795 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.423e-05/0.3411, allocations: 113.8 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.3411, allocations: 3.938 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.3411, allocations: 7.5 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3411, allocations: 0 / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3411, allocations: 0 / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3411, allocations: 3.984 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.3413, allocations: 161.8 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3413, allocations: 4 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.076e-05/0.3413, allocations: 0 / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3413, allocations: 7.938 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3413, allocations: 3.984 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3413, allocations: 0 / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3413, allocations: 0 / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.3415, allocations: 85.05 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.3415, allocations: 77.11 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.3415, allocations: 11.94 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.941e-05/0.3415, allocations: 0 / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.3416, allocations: 0 / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.3416, allocations: 7.922 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.075e-05/0.3416, allocations: 83.28 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3416, allocations: 0 / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002327/0.3419, allocations: 24 kB / 1.023 GB, free: 5.27 MB / 0.795 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.0003238/0.3422, allocations: 156.5 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.3423, allocations: 27.92 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3423, allocations: 4 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.464e-05/0.3424, allocations: 11.98 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.3425, allocations: 10.44 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002285/0.3427, allocations: 101.1 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.343, allocations: 0.6807 MB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.032e-05/0.343, allocations: 4 kB / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.508e-05/0.3431, allocations: 7.438 kB / 1.024 GB, free: 4.223 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.3431, allocations: 0 / 1.024 GB, free: 4.223 MB / 0.795 GB Notification: Performance of Templates: time 0.003371/0.3464, allocations: 0.955 MB / 1.025 GB, free: 3.27 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:seed,t0,time,y