Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_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_9_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.001222/0.001222, allocations: 103.5 kB / 16.36 MB, free: 5.879 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.001209/0.001209, allocations: 195.5 kB / 17.3 MB, free: 5.52 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.18 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.269/2.269, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 68.28 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2847, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002122/0.2869, allocations: 0.7419 MB / 0.9519 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2884, allocations: 1.146 MB / 0.953 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.2885, allocations: 0 / 0.953 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.2885, allocations: 7.938 kB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.407e-05/0.2886, allocations: 15.86 kB / 0.953 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005991/0.2892, allocations: 127.7 kB / 0.9531 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.2894, allocations: 127.7 kB / 0.9532 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.2896, allocations: 16 kB / 0.9533 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.2897, allocations: 43.91 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.2898, allocations: 47.86 kB / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.2898, allocations: 8 kB / 0.9534 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.661e-05/0.2899, allocations: 23.98 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.2899, allocations: 11.94 kB / 0.9534 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.135e-05/0.29, allocations: 43.83 kB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.2902, allocations: 119.6 kB / 0.9536 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2902, allocations: 11.94 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2902, allocations: 0 / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.2902, allocations: 0 / 0.9536 GB, free: 5.531 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.0006641/0.2909, allocations: 408.9 kB / 0.954 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.291, allocations: 8.031 kB / 0.954 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.083e-05/0.291, allocations: 12.84 kB / 0.954 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.2911, allocations: 164.3 kB / 0.9541 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.2912, allocations: 12.38 kB / 0.9541 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.2912, allocations: 12.36 kB / 0.9542 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.2914, allocations: 62.22 kB / 0.9542 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2914, allocations: 192 / 0.9542 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.2914, allocations: 7.938 kB / 0.9542 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2915, allocations: 0 / 0.9542 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.2916, allocations: 47.89 kB / 0.9543 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.2921, allocations: 328.7 kB / 0.9546 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.2923, allocations: 66.48 kB / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.2925, allocations: 32.97 kB / 0.9547 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.2925, allocations: 3.984 kB / 0.9547 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.2927, allocations: 91.28 kB / 0.9548 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.2927, allocations: 0 / 0.9548 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004296/0.2932, allocations: 133.6 kB / 0.9549 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.2932, allocations: 63.41 kB / 0.955 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.795e-05/0.2933, allocations: 125.7 kB / 0.9551 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.2934, allocations: 33.7 kB / 0.9551 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.2934, allocations: 92.12 kB / 0.9552 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.2935, allocations: 15.81 kB / 0.9552 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.527e-05/0.2936, allocations: 33.7 kB / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.2937, allocations: 318.8 kB / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.2938, allocations: 55.95 kB / 0.9556 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.294, allocations: 95.64 kB / 0.9557 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.2943, allocations: 145.8 kB / 0.9558 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2943, allocations: 0 / 0.9558 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004319/0.2947, allocations: 211.1 kB / 0.956 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.2948, allocations: 35.73 kB / 0.9561 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2948, allocations: 0 / 0.9561 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2948, allocations: 4 kB / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2949, allocations: 12.11 kB / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2949, allocations: 4 kB / 0.9561 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.2951, allocations: 39.89 kB / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.2952, allocations: 8 kB / 0.9561 GB, free: 2.625 MB / 0.7325 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 9.573e-05/0.2953, allocations: 127.6 kB / 0.9562 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.2953, allocations: 7.891 kB / 0.9563 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.2953, allocations: 16.31 kB / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.2953, allocations: 4 kB / 0.9563 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2953, allocations: 0 / 0.9563 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2954, allocations: 0 / 0.9563 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/0.2958, allocations: 378.3 kB / 0.9566 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2958, allocations: 7.984 kB / 0.9566 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.2959, allocations: 7.984 kB / 0.9567 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2959, allocations: 0 / 0.9567 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.2959, allocations: 8 kB / 0.9567 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.2959, allocations: 4 kB / 0.9567 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2959, allocations: 3.938 kB / 0.9567 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.2962, allocations: 207.8 kB / 0.9569 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.2963, allocations: 85.02 kB / 0.9569 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.2963, allocations: 4 kB / 0.9569 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-05/0.2964, allocations: 11.98 kB / 0.957 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.2964, allocations: 7.984 kB / 0.957 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.2965, allocations: 3.938 kB / 0.957 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.105e-05/0.2965, allocations: 91.77 kB / 0.9571 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2965, allocations: 0 / 0.9571 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002749/0.2968, allocations: 27.98 kB / 0.9571 GB, free: 1.543 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: 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.0001534/0.297, allocations: 103.2 kB / 0.9572 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003859/0.2974, allocations: 179.3 kB / 0.9574 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2974, allocations: 0 / 0.9574 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.2975, allocations: 47.97 kB / 0.9574 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.2978, allocations: 8.188 kB / 0.9574 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.2982, allocations: 167 kB / 0.9576 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.2984, allocations: 0.6922 MB / 0.9582 GB, free: 284 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.837e-05/0.2985, allocations: 7.984 kB / 0.9583 GB, free: 276 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.2985, allocations: 11.44 kB / 0.9583 GB, free: 264 kB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.2985, allocations: 0 / 0.9583 GB, free: 264 kB / 0.7325 GB Notification: Performance of Templates: time 0.004751/0.3033, allocations: 1.447 MB / 0.9597 GB, free: 14.82 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches