Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_11_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.004904/0.004904, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001349/0.001349, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.574/2.574, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 67.89 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2834, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001829/0.2852, allocations: 0.7417 MB / 1.221 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2866, allocations: 1.147 MB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.2866, allocations: 4 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.2867, allocations: 3.938 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.409e-05/0.2867, allocations: 11.86 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004469/0.2872, allocations: 139.4 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.2873, allocations: 119.7 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.2874, allocations: 23.98 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.325e-05/0.2875, allocations: 43.91 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.277e-05/0.2876, allocations: 47.81 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.2877, allocations: 11.98 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.447e-05/0.2877, allocations: 27.98 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.2878, allocations: 8 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.2878, allocations: 39.84 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.288, allocations: 115.5 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.288, allocations: 0 / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.288, allocations: 4 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.288, allocations: 0 / 1.223 GB, free: 11.81 MB / 0.9825 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.0005854/0.2886, allocations: 424.8 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2887, allocations: 8.031 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.2887, allocations: 34.75 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.2888, allocations: 8.938 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2889, allocations: 168.3 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.2889, allocations: 12.34 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.2889, allocations: 4.375 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.2891, allocations: 66.23 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2891, allocations: 7.875 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.2891, allocations: 0 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.2892, allocations: 3.984 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.2893, allocations: 39.97 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.2898, allocations: 328.7 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.29, allocations: 70.42 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.2901, allocations: 41.02 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.2901, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.2904, allocations: 87.44 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.2904, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004142/0.2908, allocations: 141.7 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.2908, allocations: 59.41 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.296e-05/0.2909, allocations: 121.7 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.291, allocations: 29.7 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.291, allocations: 92.12 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.2911, allocations: 31.78 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-05/0.2911, allocations: 37.7 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.2913, allocations: 322.8 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.2914, allocations: 51.95 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.2916, allocations: 84.25 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.2919, allocations: 146 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2919, allocations: 0 / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004215/0.2923, allocations: 211.1 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/0.2924, allocations: 33.7 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2924, allocations: 4 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.2924, allocations: 0 / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.2925, allocations: 15.98 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.2925, allocations: 3.938 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.2927, allocations: 36.08 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.2927, allocations: 8 kB / 1.225 GB, free: 8.844 MB / 0.9825 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.0001033/0.2928, allocations: 133.7 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.2929, allocations: 7.953 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.2929, allocations: 8.375 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.2929, allocations: 3.938 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2929, allocations: 0 / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2929, allocations: 0 / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.2934, allocations: 390.4 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2934, allocations: 0 / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.2934, allocations: 7.984 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2935, allocations: 0 / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.2935, allocations: 4 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2935, allocations: 0 / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2935, allocations: 0 / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.2938, allocations: 211.4 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.2938, allocations: 85.06 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.2938, allocations: 0 / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/0.2939, allocations: 7.984 kB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.294, allocations: 15.92 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.294, allocations: 0 / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.268e-05/0.294, allocations: 99.27 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2941, allocations: 0 / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002376/0.2943, allocations: 20 kB / 1.226 GB, free: 7.762 MB / 0.9825 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.0006092/0.2949, allocations: 0.748 MB / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003618/0.2953, allocations: 175.3 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2953, allocations: 0 / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.2954, allocations: 43.91 kB / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.2957, allocations: 20.25 kB / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.2976, allocations: 1.703 MB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.2979, allocations: 0.6885 MB / 1.229 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.898e-05/0.298, allocations: 7.984 kB / 1.229 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.298, allocations: 23.42 kB / 1.229 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.298, allocations: 4 kB / 1.229 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.307/1.605, allocations: 2.542 MB / 1.232 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/13.47, allocations: 8.688 kB / 1.232 GB, free: 1.73 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches