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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001368/0.001369, allocations: 105.6 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.001344/0.001344, allocations: 189.8 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.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.525/2.525, allocations: 437.1 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 67 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2654, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.00215/0.2675, allocations: 0.7227 MB / 1.019 GB, free: 9.91 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.2686, allocations: 0.8234 MB / 1.019 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5e-05/0.2687, allocations: 0 / 1.019 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.2688, allocations: 7.938 kB / 1.019 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.985e-05/0.2689, allocations: 3.938 kB / 1.019 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.2691, allocations: 27.95 kB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.188e-05/0.2692, allocations: 43.86 kB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.2693, allocations: 15.98 kB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.303e-05/0.2694, allocations: 15.88 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.282e-05/0.2695, allocations: 23.91 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.2695, allocations: 4 kB / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.2695, allocations: 8 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.2695, allocations: 7.984 kB / 1.02 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.2696, allocations: 23.86 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.013e-05/0.2697, allocations: 35.88 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2697, allocations: 0 / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2697, allocations: 0 / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2697, allocations: 0 / 1.02 GB, free: 8.859 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006487/0.2703, allocations: 387.5 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2704, allocations: 8.922 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.2704, allocations: 4.938 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.2706, allocations: 180.2 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.2706, allocations: 8.375 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.2706, allocations: 384 / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.2708, allocations: 66.23 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2708, allocations: 4.125 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.2708, allocations: 3.938 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2709, allocations: 3.938 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.271, allocations: 43.95 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.2716, allocations: 296.7 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.2718, allocations: 54.55 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.687e-05/0.272, allocations: 28.92 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.272, allocations: 8 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.272, allocations: 34.5 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.272, allocations: 0 / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0003795/0.2724, allocations: 93.62 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.2724, allocations: 51.41 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.975e-05/0.2725, allocations: 113.8 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.2725, allocations: 29.7 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.2726, allocations: 96.03 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.2726, allocations: 7.906 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.2727, allocations: 13.72 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2728, allocations: 322.8 kB / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.905e-05/0.2729, allocations: 19.98 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.279e-05/0.273, allocations: 19.98 kB / 1.021 GB, free: 6.781 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.2732, allocations: 48.81 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2732, allocations: 4 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002137/0.2734, allocations: 73.66 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2734, allocations: 4 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2734, allocations: 3.938 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.2734, allocations: 4 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.2735, allocations: 15.98 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2735, allocations: 0 / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.2737, allocations: 15.92 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.2737, allocations: 4 kB / 1.022 GB, free: 6.602 MB / 0.795 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 8.247e-05/0.2738, allocations: 117.8 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.2738, allocations: 7.906 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.2741, allocations: 81.92 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2741, allocations: 0 / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2741, allocations: 0 / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2741, allocations: 0 / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.2743, allocations: 177.5 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2743, allocations: 0 / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.537e-05/0.2744, allocations: 11.98 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2744, allocations: 0 / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.2745, allocations: 0 / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2745, allocations: 0 / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2745, allocations: 4 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.2748, allocations: 175.3 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.2749, allocations: 81.09 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.2749, allocations: 8 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.2751, allocations: 15.98 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.2752, allocations: 8.406 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.2752, allocations: 0 / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.056e-05/0.2753, allocations: 95.2 kB / 1.022 GB, free: 5.73 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2753, allocations: 0 / 1.022 GB, free: 5.73 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002231/0.2755, allocations: 4 kB / 1.022 GB, free: 5.727 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: 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.0001657/0.2757, allocations: 107.2 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.2761, allocations: 51.95 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2761, allocations: 0 / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.2763, allocations: 23.98 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.2768, allocations: 7.922 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.2773, allocations: 169.4 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.2776, allocations: 0.6845 MB / 1.023 GB, free: 4.621 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.2777, allocations: 7.438 kB / 1.023 GB, free: 4.613 MB / 0.795 GB Notification: Performance of SimCode: time 8.02e-07/0.2777, allocations: 0 / 1.023 GB, free: 4.613 MB / 0.795 GB Notification: Performance of Templates: time 0.003792/0.2815, allocations: 0.7793 MB / 1.024 GB, free: 3.84 MB / 0.795 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