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: "" <> 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.0008577/0.0008576, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005593/0.005594, allocations: 172.9 kB / 16.26 MB, free: 6.676 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.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.523/2.523, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003895, allocations: 12 kB / 0.873 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7245/0.7249, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.0009802/0.726, allocations: 490.2 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.7275, allocations: 1.152 MB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.7276, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.313e-05/0.7276, allocations: 7.922 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.167e-05/0.7277, allocations: 7.938 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.7283, allocations: 121 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.7284, allocations: 103.8 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.7286, allocations: 15.92 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.7287, allocations: 39.91 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.837e-05/0.7288, allocations: 39.83 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.7288, allocations: 11.98 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.651e-05/0.7289, allocations: 19.98 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.7289, allocations: 8 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.63e-05/0.729, allocations: 61.55 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.7292, allocations: 103.7 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.7292, allocations: 4 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7292, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.7292, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 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.0006135/0.7299, allocations: 399.3 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.7299, allocations: 8.031 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.305e-05/0.73, allocations: 38.75 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.375e-05/0.73, allocations: 12.84 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.7302, allocations: 176.2 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.7302, allocations: 4.375 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.7302, allocations: 8.359 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.7305, allocations: 70.23 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.7305, allocations: 3.938 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.7305, allocations: 3.938 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.7305, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.7307, allocations: 55.95 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/0.7312, allocations: 336.6 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.7315, allocations: 62.61 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.7316, allocations: 44.95 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.7316, allocations: 3.984 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.7318, allocations: 95.38 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 3.647e-06/0.7318, allocations: 4 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004712/0.7323, allocations: 157.5 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.7324, allocations: 59.41 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.7325, allocations: 117.8 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.7325, allocations: 25.7 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.7326, allocations: 96.03 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.7326, allocations: 23.73 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.7326, allocations: 25.7 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.7327, allocations: 318.8 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.7329, allocations: 59.95 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.7331, allocations: 92.19 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.7334, allocations: 149.9 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.7334, allocations: 4 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004422/0.7338, allocations: 215.2 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/0.7339, allocations: 33.7 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.7339, allocations: 4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.7339, allocations: 7.922 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.734, allocations: 20.12 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.734, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.7343, allocations: 43.95 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.7343, allocations: 11.98 kB / 1.028 GB, free: 10.67 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 0.0001161/0.7344, allocations: 130.3 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.7344, allocations: 7.844 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.7345, allocations: 12.38 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.7345, allocations: 0 / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.7345, allocations: 0 / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.7345, allocations: 0 / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.735, allocations: 390.8 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.735, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.7351, allocations: 15.92 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7351, allocations: 3.938 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.7351, allocations: 8 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.7351, allocations: 0 / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7351, allocations: 0 / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.7355, allocations: 223.3 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.7355, allocations: 88.95 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.7355, allocations: 8.047 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.7356, allocations: 8 kB / 1.029 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.7357, allocations: 15.92 kB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.7357, allocations: 0 / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.288e-05/0.7358, allocations: 91.27 kB / 1.029 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7358, allocations: 4 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002576/0.736, allocations: 24 kB / 1.029 GB, free: 9.559 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.0005933/0.7366, allocations: 0.767 MB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003709/0.737, allocations: 179.3 kB / 1.03 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.737, allocations: 0 / 1.03 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.7371, allocations: 52.17 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.7374, allocations: 18.67 kB / 1.03 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.7394, allocations: 1.716 MB / 1.032 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.7396, allocations: 0.6926 MB / 1.032 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.7397, allocations: 7.859 kB / 1.032 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.7397, allocations: 23.42 kB / 1.032 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.7397, allocations: 0 / 1.032 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/0.7522, allocations: 2.246 MB / 1.034 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.7524, allocations: 200.2 kB / 1.035 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.417, allocations: 0 / 1.035 GB, free: 3.574 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