Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001763/0.001764, allocations: 195.9 kB / 17.3 MB, free: 5.516 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.535/2.535, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 64.09 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3184, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002328/0.3207, allocations: 0.7585 MB / 1.02 GB, free: 9.098 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.3223, allocations: 1.149 MB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/0.3224, allocations: 4 kB / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.3224, allocations: 3.938 kB / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.326e-05/0.3225, allocations: 15.81 kB / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.323, allocations: 127.7 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.3232, allocations: 127.8 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.3233, allocations: 15.91 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.3234, allocations: 47.91 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.496e-05/0.3235, allocations: 51.8 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.3235, allocations: 12 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.983e-05/0.3236, allocations: 23.98 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.3236, allocations: 8 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.305e-05/0.3237, allocations: 47.83 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.3239, allocations: 115.6 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3239, allocations: 0 / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3239, allocations: 0 / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3239, allocations: 0 / 1.021 GB, free: 7.348 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.0005982/0.3245, allocations: 409 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.3246, allocations: 12.03 kB / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.3246, allocations: 8.844 kB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.3248, allocations: 168.3 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.3248, allocations: 8.375 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.3248, allocations: 8.375 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.325, allocations: 66.22 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.325, allocations: 192 / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3251, allocations: 3.938 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.3251, allocations: 0 / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.3252, allocations: 47.83 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.3258, allocations: 336.7 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.326, allocations: 70.47 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.3261, allocations: 28.97 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.3261, allocations: 4 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.3264, allocations: 95.2 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.3264, allocations: 0 / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0004482/0.3268, allocations: 141.6 kB / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.3269, allocations: 55.39 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.327, allocations: 125.8 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.327, allocations: 29.7 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.3271, allocations: 92.12 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.3271, allocations: 11.81 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.318e-05/0.3272, allocations: 37.7 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3273, allocations: 318.8 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.3275, allocations: 51.97 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.3277, allocations: 92.25 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.328, allocations: 149.8 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.328, allocations: 0 / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004289/0.3284, allocations: 207.1 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.3284, allocations: 33.7 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.3285, allocations: 4 kB / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3285, allocations: 0 / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.3286, allocations: 16.11 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.3286, allocations: 4 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.3288, allocations: 43.73 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.3289, allocations: 8 kB / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001056/0.329, allocations: 122.9 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.329, allocations: 7.938 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.329, allocations: 16.36 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.329, allocations: 4 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.329, allocations: 0 / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.329, allocations: 0 / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004862/0.3295, allocations: 378.6 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3296, allocations: 0 / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.984e-05/0.3296, allocations: 4 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3296, allocations: 4.062 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.3296, allocations: 15.98 kB / 1.024 GB, free: 3.828 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3296, allocations: 0 / 1.024 GB, free: 3.828 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3297, allocations: 0 / 1.024 GB, free: 3.828 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.33, allocations: 215.4 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.3301, allocations: 81.02 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.3301, allocations: 0 / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.792e-05/0.3302, allocations: 15.98 kB / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.3302, allocations: 4 kB / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.3302, allocations: 11.92 kB / 1.025 GB, free: 3.473 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.831e-05/0.3303, allocations: 91.77 kB / 1.025 GB, free: 3.383 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3303, allocations: 3.938 kB / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002705/0.3306, allocations: 28 kB / 1.025 GB, free: 3.352 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002003/0.3308, allocations: 103.2 kB / 1.025 GB, free: 3.242 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004274/0.3312, allocations: 179.3 kB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3312, allocations: 0 / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.3314, allocations: 43.91 kB / 1.025 GB, free: 3.012 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.3317, allocations: 12 kB / 1.025 GB, free: 3 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.3321, allocations: 167 kB / 1.025 GB, free: 2.809 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.3324, allocations: 0.6885 MB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.447e-05/0.3324, allocations: 11.84 kB / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.3325, allocations: 11.44 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of SimCode: time 5.21e-07/0.3325, allocations: 3.938 kB / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of Templates: time 0.003981/0.3365, allocations: 1.44 MB / 1.027 GB, free: 0.6445 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches