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.001146/0.001146, allocations: 102.5 kB / 16.27 MB, free: 5.859 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.001185/0.001185, allocations: 187.1 kB / 17.19 MB, free: 5.512 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.328/1.328, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.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.199/2.199, allocations: 390.3 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 66.95 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.294, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001913/0.2959, allocations: 0.7189 MB / 0.951 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.297, allocations: 0.8333 MB / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.238e-05/0.297, allocations: 0 / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.2971, allocations: 3.938 kB / 0.9518 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.122e-05/0.2972, allocations: 3.938 kB / 0.9518 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.2974, allocations: 19.97 kB / 0.9518 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.794e-05/0.2975, allocations: 43.86 kB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.2976, allocations: 15.98 kB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.59e-05/0.2977, allocations: 11.98 kB / 0.9519 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.628e-05/0.2978, allocations: 31.84 kB / 0.9519 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.2978, allocations: 4 kB / 0.9519 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.913e-05/0.2978, allocations: 4 kB / 0.9519 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.2978, allocations: 4 kB / 0.9519 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.2979, allocations: 23.8 kB / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.298, allocations: 51.86 kB / 0.952 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.298, allocations: 0 / 0.952 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.174e-06/0.298, allocations: 0 / 0.952 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.298, allocations: 0 / 0.952 GB, free: 7.082 MB / 0.7325 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.0006988/0.2987, allocations: 387.5 kB / 0.9524 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2988, allocations: 8.031 kB / 0.9524 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.2988, allocations: 4.938 kB / 0.9524 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.2989, allocations: 172.2 kB / 0.9525 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.2989, allocations: 4.375 kB / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.299, allocations: 384 / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.2992, allocations: 58.23 kB / 0.9526 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2992, allocations: 192 / 0.9526 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.2992, allocations: 15.92 kB / 0.9526 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2992, allocations: 0 / 0.9526 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.2994, allocations: 47.89 kB / 0.9527 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.2999, allocations: 304.7 kB / 0.953 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.3002, allocations: 46.55 kB / 0.953 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.652e-05/0.3003, allocations: 32.92 kB / 0.953 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.3003, allocations: 0 / 0.953 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.3003, allocations: 38.56 kB / 0.9531 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3003, allocations: 4 kB / 0.9531 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003733/0.3007, allocations: 85.64 kB / 0.9532 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.3008, allocations: 55.34 kB / 0.9532 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/0.3008, allocations: 113.8 kB / 0.9533 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.3009, allocations: 29.64 kB / 0.9533 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.3009, allocations: 92.12 kB / 0.9534 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.3009, allocations: 15.75 kB / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.301, allocations: 17.72 kB / 0.9535 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.3011, allocations: 318.8 kB / 0.9538 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.38e-05/0.3012, allocations: 19.98 kB / 0.9538 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.529e-05/0.3013, allocations: 19.98 kB / 0.9538 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.3014, allocations: 44.81 kB / 0.9539 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3015, allocations: 4 kB / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002061/0.3017, allocations: 73.66 kB / 0.9539 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3017, allocations: 8 kB / 0.9539 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3017, allocations: 0 / 0.9539 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.3017, allocations: 0 / 0.9539 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.944e-05/0.3018, allocations: 15.92 kB / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3018, allocations: 0 / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3019, allocations: 15.98 kB / 0.954 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-06/0.3019, allocations: 4 kB / 0.954 GB, free: 4.84 MB / 0.7325 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 7.876e-05/0.302, allocations: 127.7 kB / 0.9541 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.302, allocations: 3.906 kB / 0.9541 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.3023, allocations: 85.55 kB / 0.9542 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3023, allocations: 0 / 0.9542 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3023, allocations: 4 kB / 0.9542 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3023, allocations: 384 / 0.9542 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.3025, allocations: 165.6 kB / 0.9543 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3025, allocations: 0 / 0.9543 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-05/0.3026, allocations: 15.92 kB / 0.9544 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3026, allocations: 0 / 0.9544 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.3026, allocations: 0 / 0.9544 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3026, allocations: 0 / 0.9544 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3026, allocations: 3.984 kB / 0.9544 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.3028, allocations: 175.8 kB / 0.9545 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.3029, allocations: 85 kB / 0.9546 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.3029, allocations: 0 / 0.9546 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.3031, allocations: 15.98 kB / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.3031, allocations: 7.922 kB / 0.9546 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3031, allocations: 12 kB / 0.9546 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.441e-05/0.3032, allocations: 95.2 kB / 0.9547 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3032, allocations: 0 / 0.9547 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002199/0.3034, allocations: 4 kB / 0.9547 GB, free: 3.953 MB / 0.7325 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.0001199/0.3035, allocations: 103.2 kB / 0.9548 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.3038, allocations: 47.95 kB / 0.9549 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3038, allocations: 0 / 0.9549 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.422e-05/0.3039, allocations: 23.98 kB / 0.9549 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.3042, allocations: 15.86 kB / 0.9549 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.3045, allocations: 155.2 kB / 0.9551 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.3048, allocations: 0.6844 MB / 0.9557 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.3048, allocations: 11.44 kB / 0.9557 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.3048, allocations: 0 / 0.9557 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of Templates: time 0.002114/0.3069, allocations: 0.7763 MB / 0.9565 GB, free: 2.086 MB / 0.7325 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/jenkins1/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