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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001738/0.001738, allocations: 107.3 kB / 16.36 MB, free: 5.824 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.001366/0.001366, allocations: 189.7 kB / 17.29 MB, free: 5.48 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 64.22 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3099, allocations: 140.4 MB / 0.9511 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002161/0.3121, allocations: 0.7107 MB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.3132, allocations: 0.845 MB / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.3133, allocations: 0 / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.105e-05/0.3133, allocations: 3.938 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.628e-05/0.3134, allocations: 3.938 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.3136, allocations: 11.98 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.651e-05/0.3137, allocations: 43.91 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.3138, allocations: 23.91 kB / 0.9527 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.925e-05/0.3139, allocations: 11.94 kB / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.314, allocations: 31.84 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.314, allocations: 8 kB / 0.9528 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.314, allocations: 4 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.3141, allocations: 4 kB / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.3141, allocations: 19.86 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.3142, allocations: 43.86 kB / 0.9529 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3142, allocations: 0 / 0.9529 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3142, allocations: 0 / 0.9529 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3142, allocations: 0 / 0.9529 GB, free: 6.223 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.000658/0.3149, allocations: 391.3 kB / 0.9532 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.315, allocations: 8.031 kB / 0.9532 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.315, allocations: 0.9375 kB / 0.9532 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.3151, allocations: 176.2 kB / 0.9534 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.3151, allocations: 4.375 kB / 0.9534 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.3152, allocations: 8.375 kB / 0.9534 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.3154, allocations: 62.17 kB / 0.9535 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3154, allocations: 192 / 0.9535 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3154, allocations: 11.92 kB / 0.9535 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3154, allocations: 0 / 0.9535 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.3156, allocations: 43.95 kB / 0.9535 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.3161, allocations: 304.7 kB / 0.9538 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.3164, allocations: 50.48 kB / 0.9539 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.692e-05/0.3165, allocations: 28.98 kB / 0.9539 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3165, allocations: 4 kB / 0.9539 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3165, allocations: 38.56 kB / 0.9539 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3165, allocations: 3.938 kB / 0.9539 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003426/0.3169, allocations: 89.58 kB / 0.954 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.3169, allocations: 51.41 kB / 0.9541 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.317, allocations: 121.8 kB / 0.9542 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.317, allocations: 25.7 kB / 0.9542 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.3171, allocations: 88.12 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.3171, allocations: 11.81 kB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.3172, allocations: 17.72 kB / 0.9543 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3173, allocations: 318.8 kB / 0.9546 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.374e-05/0.3174, allocations: 19.98 kB / 0.9546 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.367e-05/0.3175, allocations: 23.98 kB / 0.9547 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.3176, allocations: 44.81 kB / 0.9547 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.3176, allocations: 0 / 0.9547 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001889/0.3178, allocations: 77.59 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3179, allocations: 8 kB / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3179, allocations: 0 / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.3179, allocations: 0 / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/0.318, allocations: 15.98 kB / 0.9548 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.318, allocations: 0 / 0.9548 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.942e-05/0.3181, allocations: 11.98 kB / 0.9548 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.3181, allocations: 0 / 0.9548 GB, free: 3.977 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 0.0001019/0.3182, allocations: 127.7 kB / 0.9549 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.3182, allocations: 3.906 kB / 0.9549 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.3185, allocations: 93.48 kB / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3185, allocations: 0 / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.3185, allocations: 0 / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3185, allocations: 384 / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.3187, allocations: 165.6 kB / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3187, allocations: 0 / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.3188, allocations: 11.98 kB / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3188, allocations: 0 / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3188, allocations: 3.984 kB / 0.9552 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3188, allocations: 4 kB / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3188, allocations: 4 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.3191, allocations: 171.5 kB / 0.9554 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.3192, allocations: 88.94 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.3192, allocations: 3.938 kB / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.3193, allocations: 19.98 kB / 0.9555 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.3194, allocations: 3.984 kB / 0.9555 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3194, allocations: 8 kB / 0.9555 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.579e-05/0.3195, allocations: 95.58 kB / 0.9556 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3195, allocations: 0 / 0.9556 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002281/0.3197, allocations: 4 kB / 0.9556 GB, free: 3.082 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.0002067/0.3199, allocations: 101.8 kB / 0.9557 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002804/0.3202, allocations: 51.95 kB / 0.9557 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3202, allocations: 0 / 0.9557 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.176e-05/0.3203, allocations: 23.92 kB / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.3207, allocations: 11.92 kB / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.3211, allocations: 117.6 kB / 0.9559 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3215, allocations: 0.6844 MB / 0.9566 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.3215, allocations: 4 kB / 0.9566 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.3215, allocations: 11.44 kB / 0.9566 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.3215, allocations: 0 / 0.9566 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of Templates: time 0.004144/0.3257, allocations: 0.8147 MB / 0.9574 GB, free: 1.223 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 -s cvode -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