Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.008969/0.008969, allocations: 102.8 kB / 15.73 MB, free: 6.055 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.001975/0.001975, allocations: 191.6 kB / 16.68 MB, free: 5.965 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 390.2 MB / 0.6648 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 0.9508 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9105/0.9117, allocations: 140.4 MB / 1.088 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.00246/0.9142, allocations: 1.209 MB / 1.089 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008868/0.9151, allocations: 384.7 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.728e-05/0.9152, allocations: 1.125 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.9152, allocations: 3.938 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.173e-05/0.9152, allocations: 0 / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006207/0.9159, allocations: 94.2 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.542e-05/0.916, allocations: 22.22 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.415e-05/0.916, allocations: 6.75 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.867e-05/0.9161, allocations: 5.062 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.232e-05/0.9161, allocations: 11.47 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.9161, allocations: 1.219 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.9163, allocations: 94.59 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.9164, allocations: 5.531 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.9164, allocations: 8.062 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.9166, allocations: 81.06 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.9166, allocations: 1.125 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.475e-06/0.9166, allocations: 0 / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.9167, allocations: 0 / 1.09 GB, free: 4.328 MB / 0.8575 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.0004414/0.9171, allocations: 371.9 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.9171, allocations: 9.281 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.9172, allocations: 2.438 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.206e-05/0.9173, allocations: 170 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.9173, allocations: 2.688 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.9173, allocations: 6.703 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.88e-05/0.9174, allocations: 35.11 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.9174, allocations: 1.641 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.9174, allocations: 3.938 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.9175, allocations: 5 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.129e-05/0.9175, allocations: 8.484 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000119/0.9176, allocations: 153 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.293e-05/0.9177, allocations: 25.52 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.9177, allocations: 18.39 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.9178, allocations: 1.031 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.9179, allocations: 65.88 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.774e-06/0.9179, allocations: 0 / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000196/0.9181, allocations: 71.47 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.9181, allocations: 53.22 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.727e-05/0.9182, allocations: 97.91 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.9182, allocations: 30.95 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.143e-05/0.9182, allocations: 82.25 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.9183, allocations: 10.27 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.9183, allocations: 20.06 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.9184, allocations: 317.5 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.9184, allocations: 6.594 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.967e-05/0.9184, allocations: 32.06 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.644e-05/0.9185, allocations: 53.91 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9185, allocations: 0 / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.8e-05/0.9186, allocations: 66.23 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.9186, allocations: 13.31 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.9186, allocations: 1.547 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.9186, allocations: 2.062 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.921e-05/0.9187, allocations: 11.42 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.9187, allocations: 4.969 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/0.9188, allocations: 6.719 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.9188, allocations: 2.375 kB / 1.091 GB, free: 2.57 MB / 0.8575 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 5.599e-05/0.9188, allocations: 114 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.9188, allocations: 5.062 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.9189, allocations: 4.953 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.9189, allocations: 0.8438 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.9189, allocations: 0.6094 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.9189, allocations: 0.875 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.092e-05/0.919, allocations: 162.9 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.919, allocations: 0.6094 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.185e-05/0.919, allocations: 2.812 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.919, allocations: 4.453 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.919, allocations: 2.359 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.919, allocations: 0 / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.919, allocations: 0 / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.9191, allocations: 88.97 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.9192, allocations: 86.95 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.9192, allocations: 8.531 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.027e-05/0.9192, allocations: 1.734 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.9192, allocations: 1.844 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.9192, allocations: 2.047 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.905e-05/0.9193, allocations: 82.42 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9193, allocations: 0 / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002665/0.9195, allocations: 27.36 kB / 1.092 GB, free: 1.969 MB / 0.8575 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.0003359/0.9199, allocations: 173 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.92, allocations: 29.31 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.92, allocations: 0 / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.062e-05/0.9201, allocations: 13.08 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.9202, allocations: 2.75 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.9204, allocations: 106.8 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.9206, allocations: 0.6798 MB / 1.093 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.027e-05/0.9206, allocations: 3.359 kB / 1.093 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/0.9206, allocations: 8.844 kB / 1.093 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.9206, allocations: 1.344 kB / 1.093 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of Templates: time 0.003692/0.9243, allocations: 0.9506 MB / 1.094 GB, free: 0.8945 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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