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.001388/0.001388, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.555/2.555, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002546/0.002546, allocations: 67.89 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6212/0.6237, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001952/0.6257, allocations: 0.7411 MB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.6271, allocations: 1.152 MB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.6272, allocations: 0 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.694e-05/0.6272, allocations: 7.875 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.778e-05/0.6273, allocations: 19.84 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.6278, allocations: 131.5 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.628, allocations: 127.8 kB / 1.02 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.31e-05/0.6281, allocations: 15.97 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.565e-05/0.6281, allocations: 47.89 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.414e-05/0.6282, allocations: 43.83 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.6283, allocations: 12 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.183e-05/0.6283, allocations: 23.98 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.6284, allocations: 8 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.276e-05/0.6284, allocations: 51.83 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.6286, allocations: 111.7 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6286, allocations: 0 / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6286, allocations: 0 / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.6286, allocations: 0 / 1.02 GB, free: 16 kB / 0.7637 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.0005646/0.6292, allocations: 407.2 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.6292, allocations: 8.031 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.6293, allocations: 38.75 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.6293, allocations: 12.84 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.6294, allocations: 176.2 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.6295, allocations: 8.359 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.6295, allocations: 8.375 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.6297, allocations: 58.23 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.6297, allocations: 3.938 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.6297, allocations: 11.97 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.6297, allocations: 0 / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.6299, allocations: 39.97 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.6304, allocations: 332.7 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.6306, allocations: 62.59 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.6307, allocations: 36.95 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.6307, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.6309, allocations: 91.2 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.6309, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004436/0.6314, allocations: 149.7 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.6314, allocations: 55.34 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.6315, allocations: 121.8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.6316, allocations: 29.7 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.6316, allocations: 88.12 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.6317, allocations: 19.75 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.876e-05/0.6317, allocations: 37.7 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6319, allocations: 330.8 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.632, allocations: 51.95 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.6322, allocations: 88.12 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.6325, allocations: 145.9 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6325, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004603/0.633, allocations: 211.1 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.633, allocations: 43.39 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.633, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.6331, allocations: 64 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.754e-05/0.6332, allocations: 15.98 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.6332, allocations: 4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.6334, allocations: 31.95 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.6334, allocations: 15.98 kB / 1.022 GB, free: 13.05 MB / 0.7794 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.333e-05/0.6335, allocations: 127.3 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.6335, allocations: 7.906 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.6336, allocations: 8.375 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.6336, allocations: 4 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6336, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.6336, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.6341, allocations: 378.4 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6341, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.07e-05/0.6341, allocations: 15.92 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6342, allocations: 3.938 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.6342, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6342, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6342, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.6345, allocations: 211.4 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.6345, allocations: 84.95 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.6346, allocations: 4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.6346, allocations: 7.984 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.6347, allocations: 11.92 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.6347, allocations: 4 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.697e-05/0.6348, allocations: 91.27 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6348, allocations: 0 / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002764/0.635, allocations: 28 kB / 1.023 GB, free: 11.98 MB / 0.7794 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.0007456/0.6358, allocations: 0.744 MB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004226/0.6362, allocations: 179.3 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6362, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.6364, allocations: 47.97 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.6367, allocations: 19.86 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.639, allocations: 1.685 MB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.6393, allocations: 0.6846 MB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.048e-05/0.6393, allocations: 11.84 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.6394, allocations: 19.44 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.6394, allocations: 0 / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.659, allocations: 2.521 MB / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/8.477, allocations: 15.62 kB / 1.029 GB, free: 5.973 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.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