Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 100.1 kB / 15.88 MB, free: 12 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.00165/0.00165, allocations: 197.7 kB / 16.79 MB, free: 6.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.394/1.394, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.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.765/2.765, allocations: 437 MB / 0.7106 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 64.14 kB / 0.8692 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7097/0.712, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002434/0.7145, allocations: 0.7863 MB / 1.018 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.7158, allocations: 0.8195 MB / 1.019 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.691e-05/0.7158, allocations: 4 kB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.671e-05/0.7159, allocations: 3.984 kB / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.721e-05/0.716, allocations: 3.938 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.7162, allocations: 15.98 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.967e-05/0.7163, allocations: 47.84 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.7165, allocations: 8 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.07e-05/0.7165, allocations: 15.98 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/0.7166, allocations: 23.84 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.7166, allocations: 4 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/0.7166, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.7167, allocations: 8 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.7167, allocations: 27.84 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.391e-05/0.7168, allocations: 27.94 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.7168, allocations: 7.938 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7168, allocations: 4 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.7168, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007609/0.7176, allocations: 381.3 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.7177, allocations: 8.031 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.7177, allocations: 4.938 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.7179, allocations: 176.2 kB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.7179, allocations: 384 / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.7179, allocations: 4.375 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.7181, allocations: 62.22 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.7182, allocations: 192 / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.7182, allocations: 7.922 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.7182, allocations: 4 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.7184, allocations: 43.95 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006196/0.719, allocations: 304.6 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.7193, allocations: 54.55 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.7194, allocations: 25 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.7195, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.7195, allocations: 30.56 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.234e-06/0.7195, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003988/0.7199, allocations: 97.56 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.72, allocations: 51.41 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.7201, allocations: 109.8 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.7201, allocations: 29.7 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.7202, allocations: 92.08 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.7202, allocations: 11.75 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.7203, allocations: 25.7 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.7204, allocations: 318.8 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.7206, allocations: 19.98 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-05/0.7207, allocations: 23.97 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.7208, allocations: 48.77 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7208, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002379/0.7211, allocations: 74.03 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.7211, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.7211, allocations: 3.984 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.7211, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/0.7212, allocations: 11.94 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.7212, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.7214, allocations: 19.97 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.7214, allocations: 4 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.0001036/0.7215, allocations: 118.2 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.7215, allocations: 7.906 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.7218, allocations: 77.55 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.7219, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.7219, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.7219, allocations: 4.375 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.7221, allocations: 169.6 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.7221, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.7222, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.7222, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.7222, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7222, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.7222, allocations: 11.97 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.7225, allocations: 171.4 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.516e-05/0.7226, allocations: 89.02 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.7226, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.7228, allocations: 15.97 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.7228, allocations: 4 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-06/0.7228, allocations: 3.984 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.958e-05/0.7229, allocations: 91.28 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.783e-06/0.7229, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002352/0.7231, allocations: 11.94 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001548/0.7233, allocations: 107.2 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.7235, allocations: 47.91 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7235, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.45e-05/0.7236, allocations: 31.97 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.724, allocations: 12.19 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.7243, allocations: 161.8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.7246, allocations: 0.6809 MB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.7247, allocations: 15.44 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.7247, allocations: 3.938 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of Templates: time 0.00233/0.727, allocations: 0.7751 MB / 1.024 GB, free: 11.95 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches