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.001298/0.001298, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001257/0.001257, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.441/1.441, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.609/2.609, allocations: 437.1 MB / 0.7111 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 65.41 kB / 0.8699 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2993, allocations: 151.6 MB / 1.018 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.00206/0.3014, allocations: 0.7147 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.3024, allocations: 0.8273 MB / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.583e-05/0.3025, allocations: 0 / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.3025, allocations: 3.938 kB / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.218e-05/0.3026, allocations: 7.938 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.3028, allocations: 23.91 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.922e-05/0.3029, allocations: 51.86 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.303, allocations: 11.98 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.814e-05/0.303, allocations: 19.92 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.062e-05/0.3031, allocations: 23.91 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.3031, allocations: 4 kB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.3031, allocations: 4 kB / 1.02 GB, free: 8.875 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.56e-05/0.3032, allocations: 4 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.3032, allocations: 19.86 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.978e-05/0.3033, allocations: 43.86 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3033, allocations: 8 kB / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3033, allocations: 0 / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.3033, allocations: 0 / 1.02 GB, free: 8.801 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.0006702/0.304, allocations: 379.5 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.304, allocations: 16.86 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.3041, allocations: 0.9375 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3042, allocations: 184.2 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3042, allocations: 4.375 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.3043, allocations: 4.375 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.3045, allocations: 58.23 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3045, allocations: 192 / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3045, allocations: 7.922 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3045, allocations: 4 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.3047, allocations: 51.89 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.3053, allocations: 304.6 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.3055, allocations: 50.55 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.3056, allocations: 28.98 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.3057, allocations: 0 / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.3057, allocations: 30.56 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.3057, allocations: 4 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0003734/0.3061, allocations: 93.58 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.3061, allocations: 51.41 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.851e-05/0.3062, allocations: 109.8 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.3062, allocations: 33.7 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.3063, allocations: 92.03 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.3063, allocations: 3.906 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.3064, allocations: 21.72 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3065, allocations: 322.8 kB / 1.021 GB, free: 6.766 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.553e-05/0.3066, allocations: 19.98 kB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.823e-05/0.3067, allocations: 19.98 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.3069, allocations: 48.75 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3069, allocations: 4 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002153/0.3071, allocations: 73.66 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3071, allocations: 4 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.3071, allocations: 0 / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3072, allocations: 4 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.727e-05/0.3072, allocations: 8.359 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.3072, allocations: 0 / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.3074, allocations: 23.92 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.3074, allocations: 0 / 1.022 GB, free: 6.555 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 9.977e-05/0.3075, allocations: 125.7 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.3075, allocations: 3.906 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.3078, allocations: 81.48 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3078, allocations: 0 / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3078, allocations: 4 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3078, allocations: 4.375 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.308, allocations: 169.6 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.308, allocations: 0 / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.3081, allocations: 11.92 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3081, allocations: 0 / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3081, allocations: 3.984 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3081, allocations: 4 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3081, allocations: 4 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.3084, allocations: 175.3 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.3084, allocations: 89.09 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.3085, allocations: 0 / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.3086, allocations: 11.98 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.3087, allocations: 7.984 kB / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.3087, allocations: 0 / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.387e-05/0.3087, allocations: 95.27 kB / 1.022 GB, free: 5.676 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3087, allocations: 0 / 1.022 GB, free: 5.676 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002181/0.309, allocations: 12 kB / 1.022 GB, free: 5.664 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.0001244/0.3091, allocations: 99.25 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.3093, allocations: 47.89 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3093, allocations: 0 / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.607e-05/0.3095, allocations: 27.98 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.3097, allocations: 11.92 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.31, allocations: 153.4 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.3104, allocations: 0.6845 MB / 1.023 GB, free: 4.578 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.3104, allocations: 15.44 kB / 1.023 GB, free: 4.562 MB / 0.795 GB Notification: Performance of SimCode: time 2.01e-07/0.3104, allocations: 288 / 1.023 GB, free: 4.562 MB / 0.795 GB Notification: Performance of Templates: time 0.002233/0.3127, allocations: 0.7788 MB / 1.024 GB, free: 3.785 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=400 -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