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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009903/0.0009902, allocations: 98.64 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 182.8 kB / 16.92 MB, free: 6.918 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.363/1.363, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.37/2.37, allocations: 390.9 MB / 0.667 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003342, allocations: 11.94 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7072/0.7075, allocations: 142.4 MB / 0.9557 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001054/0.7086, allocations: 0.9308 MB / 0.9566 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007032/0.7093, allocations: 380.4 kB / 0.957 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.049e-05/0.7094, allocations: 0 / 0.957 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.7094, allocations: 0 / 0.957 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.41e-05/0.7094, allocations: 7.875 kB / 0.957 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.7098, allocations: 76.66 kB / 0.9571 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.717e-05/0.7099, allocations: 23.33 kB / 0.9571 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.7099, allocations: 1.062 kB / 0.9571 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.082e-05/0.71, allocations: 8.031 kB / 0.9571 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.525e-05/0.71, allocations: 10.8 kB / 0.9571 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.71, allocations: 4.906 kB / 0.9571 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.7102, allocations: 79.06 kB / 0.9572 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.7102, allocations: 5.062 kB / 0.9572 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.7102, allocations: 29.48 kB / 0.9572 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.7104, allocations: 68.64 kB / 0.9573 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.7104, allocations: 0 / 0.9573 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7104, allocations: 0 / 0.9573 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.7104, allocations: 1.344 kB / 0.9573 GB, free: 6.531 MB / 0.7169 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.0003331/0.7107, allocations: 372.5 kB / 0.9576 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.7108, allocations: 9.062 kB / 0.9576 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.7108, allocations: 1.969 kB / 0.9576 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.737e-05/0.7109, allocations: 163.5 kB / 0.9578 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.7109, allocations: 1.344 kB / 0.9578 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.7109, allocations: 6.562 kB / 0.9578 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.852e-05/0.711, allocations: 39.77 kB / 0.9578 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.711, allocations: 192 / 0.9578 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.7111, allocations: 7.922 kB / 0.9579 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.7111, allocations: 5.094 kB / 0.9579 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.833e-05/0.7111, allocations: 7.156 kB / 0.9579 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001074/0.7112, allocations: 152.9 kB / 0.958 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.671e-05/0.7113, allocations: 25.91 kB / 0.958 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.772e-05/0.7113, allocations: 18.25 kB / 0.9581 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.7113, allocations: 0 / 0.9581 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.7115, allocations: 56.56 kB / 0.9581 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.7115, allocations: 0 / 0.9581 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001723/0.7116, allocations: 72.73 kB / 0.9582 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.7117, allocations: 52.59 kB / 0.9582 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.897e-05/0.7117, allocations: 96.34 kB / 0.9583 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.7117, allocations: 26.77 kB / 0.9583 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.632e-05/0.7118, allocations: 89.36 kB / 0.9584 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.7118, allocations: 17.03 kB / 0.9584 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.7118, allocations: 16 kB / 0.9585 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.884e-05/0.7119, allocations: 319.8 kB / 0.9588 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.7119, allocations: 8.656 kB / 0.9588 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-05/0.7119, allocations: 30.39 kB / 0.9588 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.054e-05/0.712, allocations: 48.38 kB / 0.9588 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.712, allocations: 1.188 kB / 0.9589 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.492e-05/0.7121, allocations: 67.62 kB / 0.9589 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.7121, allocations: 10.34 kB / 0.9589 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.7121, allocations: 0 / 0.9589 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.7121, allocations: 2.188 kB / 0.9589 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.382e-05/0.7122, allocations: 10.39 kB / 0.9589 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.7122, allocations: 5.281 kB / 0.9589 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.7122, allocations: 1.062 kB / 0.9589 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.7122, allocations: 3.188 kB / 0.9589 GB, free: 4.727 MB / 0.7169 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.456e-05/0.7123, allocations: 112.1 kB / 0.9591 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.7123, allocations: 9.969 kB / 0.9591 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.7123, allocations: 3.5 kB / 0.9591 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.7123, allocations: 5.094 kB / 0.9591 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7124, allocations: 3.938 kB / 0.9591 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7124, allocations: 5.016 kB / 0.9591 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.422e-05/0.7124, allocations: 157.1 kB / 0.9592 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7124, allocations: 240 / 0.9592 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.7125, allocations: 1.906 kB / 0.9592 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.7125, allocations: 5.094 kB / 0.9592 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/0.7125, allocations: 0 / 0.9592 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.7125, allocations: 1.094 kB / 0.9592 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7125, allocations: 3.984 kB / 0.9592 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.7126, allocations: 82.33 kB / 0.9593 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.7126, allocations: 81.11 kB / 0.9594 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.7126, allocations: 5.281 kB / 0.9594 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.133e-05/0.7127, allocations: 5.438 kB / 0.9594 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.7127, allocations: 1.375 kB / 0.9594 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.7127, allocations: 5.391 kB / 0.9594 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.67e-05/0.7127, allocations: 76.56 kB / 0.9595 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.042e-06/0.7127, allocations: 0 / 0.9595 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002386/0.713, allocations: 32.47 kB / 0.9595 GB, free: 4.102 MB / 0.7169 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.0002931/0.7133, allocations: 156.6 kB / 0.9597 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.912e-05/0.7134, allocations: 25.45 kB / 0.9597 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7134, allocations: 0 / 0.9597 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.7134, allocations: 19.2 kB / 0.9597 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.7136, allocations: 2.969 kB / 0.9597 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002042/0.7138, allocations: 135.8 kB / 0.9598 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.7139, allocations: 0.6769 MB / 0.9605 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.338e-05/0.7139, allocations: 9.188 kB / 0.9605 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7139, allocations: 0 / 0.9605 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of Templates: time 0.002485/0.7164, allocations: 1.147 MB / 0.9616 GB, free: 2.527 MB / 0.7169 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches