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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008322/0.008322, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.001874/0.001874, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3361, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002792/0.3389, allocations: 0.7494 MB / 1.167 GB, free: 6.543 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002237/0.3412, allocations: 1.148 MB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.986e-05/0.3413, allocations: 0 / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.562e-05/0.3414, allocations: 3.938 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.996e-05/0.3415, allocations: 15.86 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005849/0.3421, allocations: 139 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.3423, allocations: 123.8 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3424, allocations: 19.97 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.3425, allocations: 47.91 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.647e-05/0.3426, allocations: 39.89 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.3426, allocations: 15.98 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-05/0.3427, allocations: 23.92 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.3428, allocations: 19.92 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.704e-05/0.3428, allocations: 39.84 kB / 1.169 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.343, allocations: 104 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3431, allocations: 0 / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3431, allocations: 3.938 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3431, allocations: 4 kB / 1.169 GB, free: 4.793 MB / 0.92 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.0007325/0.3438, allocations: 420.9 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.3439, allocations: 8.031 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.3439, allocations: 34.73 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.066e-05/0.344, allocations: 16.89 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3442, allocations: 168.3 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.3442, allocations: 8.312 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.3442, allocations: 8.375 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.3445, allocations: 70.2 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3445, allocations: 3.938 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3445, allocations: 4 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3445, allocations: 3.938 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.3447, allocations: 43.95 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006676/0.3454, allocations: 336.6 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.3456, allocations: 58.61 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3457, allocations: 32.97 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.3457, allocations: 4 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003375/0.3461, allocations: 91.42 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 4.909e-06/0.3461, allocations: 0 / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0005189/0.3466, allocations: 137.5 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.3467, allocations: 59.39 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.3468, allocations: 113.8 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.3469, allocations: 33.7 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.3469, allocations: 96.12 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.347, allocations: 23.84 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.384e-05/0.3471, allocations: 33.7 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3472, allocations: 326.8 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.3474, allocations: 51.91 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.3476, allocations: 88.25 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.3479, allocations: 141.8 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3479, allocations: 4 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004587/0.3484, allocations: 207.2 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.758e-05/0.3485, allocations: 33.7 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3485, allocations: 0 / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.3485, allocations: 4 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3486, allocations: 15.92 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3486, allocations: 0 / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.3489, allocations: 44.02 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.3489, allocations: 11.98 kB / 1.171 GB, free: 1.82 MB / 0.92 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.000113/0.349, allocations: 121.8 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.349, allocations: 3.953 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.3491, allocations: 16.36 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3491, allocations: 0 / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3491, allocations: 0 / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3491, allocations: 4 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.3496, allocations: 382.4 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.3496, allocations: 0 / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.3497, allocations: 4 kB / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3497, allocations: 0 / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.3497, allocations: 8.047 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3498, allocations: 4 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3498, allocations: 7.938 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.3501, allocations: 207.8 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.3501, allocations: 93 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.3502, allocations: 0 / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.359e-05/0.3503, allocations: 7.984 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.3503, allocations: 7.938 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.3503, allocations: 8 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.69e-05/0.3504, allocations: 95.2 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3504, allocations: 0 / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002788/0.3507, allocations: 27.94 kB / 1.172 GB, free: 0.7422 MB / 0.92 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.000712/0.3514, allocations: 0.7515 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004067/0.3518, allocations: 179.3 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3518, allocations: 0 / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.352, allocations: 39.97 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.3523, allocations: 21.42 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.3544, allocations: 1.691 MB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.3547, allocations: 0.6885 MB / 1.175 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.843e-05/0.3548, allocations: 4 kB / 1.175 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.3548, allocations: 19.44 kB / 1.175 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.3548, allocations: 0 / 1.175 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.375, allocations: 2.557 MB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.325, allocations: 19.88 kB / 1.178 GB, free: 10.71 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv","/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