Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_9_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_9_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.008756/0.008756, allocations: 100.1 kB / 15.73 MB, free: 6.047 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.001327/0.001327, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.568/2.568, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.81 kB / 0.9509 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3249, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.00207/0.327, allocations: 0.7091 MB / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008907/0.3279, allocations: 0.8316 MB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.993e-05/0.328, allocations: 4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.328, allocations: 3.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.086e-05/0.3281, allocations: 3.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.3283, allocations: 23.89 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.3284, allocations: 43.86 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3285, allocations: 15.98 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.114e-05/0.3286, allocations: 15.92 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.555e-05/0.3287, allocations: 23.92 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.3287, allocations: 8 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.3287, allocations: 4 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.3288, allocations: 11.97 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.3288, allocations: 15.88 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.3289, allocations: 43.88 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.329, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.697e-06/0.329, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.329, allocations: 0 / 1.09 GB, free: 15.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008993/0.3299, allocations: 387.3 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.3299, allocations: 8.031 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.33, allocations: 8.844 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.3302, allocations: 172.2 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3302, allocations: 4.375 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.3302, allocations: 384 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.3305, allocations: 66.22 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.3305, allocations: 4.188 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.3305, allocations: 7.875 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.3305, allocations: 0 / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.3307, allocations: 43.95 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006641/0.3314, allocations: 308.6 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.3317, allocations: 50.55 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.937e-05/0.3318, allocations: 25 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.3319, allocations: 4 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.3319, allocations: 42.56 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.3319, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003946/0.3323, allocations: 89.58 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.3324, allocations: 55.39 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3325, allocations: 113.8 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.3325, allocations: 29.7 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.3326, allocations: 88.05 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.3326, allocations: 7.906 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.3327, allocations: 21.7 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3329, allocations: 314.8 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-05/0.333, allocations: 19.98 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.876e-05/0.3331, allocations: 23.97 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.3332, allocations: 48.77 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3332, allocations: 0 / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002148/0.3335, allocations: 73.66 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3335, allocations: 8 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3335, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.3335, allocations: 3.984 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.3336, allocations: 12 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3336, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.3337, allocations: 23.81 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3337, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 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.969e-05/0.3338, allocations: 117.8 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.3339, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.3342, allocations: 89.48 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3342, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3342, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.3342, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.3344, allocations: 173.9 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3344, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.3345, allocations: 11.98 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3345, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3345, allocations: 4.312 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3345, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3345, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.3348, allocations: 187.3 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.3349, allocations: 77.11 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.3349, allocations: 0 / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.335, allocations: 23.97 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.3351, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3351, allocations: 4 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.684e-05/0.3352, allocations: 95.27 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3352, allocations: 0 / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002206/0.3354, allocations: 4 kB / 1.092 GB, free: 12.6 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: 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.0001589/0.3355, allocations: 99.25 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.3358, allocations: 55.89 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3358, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.722e-05/0.3359, allocations: 23.97 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.3362, allocations: 11.94 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.3365, allocations: 133.6 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.3368, allocations: 0.6768 MB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.094e-05/0.3368, allocations: 11.98 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.3369, allocations: 11.44 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3369, allocations: 0 / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of Templates: time 0.003668/0.3405, allocations: 0.842 MB / 1.094 GB, free: 10.69 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches