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.005427/0.005427, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.001113/0.001113, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.716/2.716, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.284, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002196/0.2862, allocations: 0.7507 MB / 1.167 GB, free: 6.504 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.2879, allocations: 1.151 MB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/0.288, allocations: 4 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.648e-05/0.2881, allocations: 3.938 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.127e-05/0.2882, allocations: 15.91 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006502/0.2888, allocations: 135.1 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.2891, allocations: 131.7 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2892, allocations: 8 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.2893, allocations: 43.91 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.2894, allocations: 47.86 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.2895, allocations: 12 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.118e-05/0.2896, allocations: 23.98 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.097e-05/0.2896, allocations: 15.92 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.139e-05/0.2897, allocations: 43.86 kB / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.2899, allocations: 111.7 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2899, allocations: 3.938 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2899, allocations: 0 / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.29, allocations: 0 / 1.169 GB, free: 4.75 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.0007264/0.2907, allocations: 416.6 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.2907, allocations: 11.97 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.2908, allocations: 34.69 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.2908, allocations: 12.84 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.291, allocations: 168.4 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.291, allocations: 8.375 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.2911, allocations: 8.375 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.2913, allocations: 62.22 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2913, allocations: 3.938 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.2913, allocations: 4 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.2913, allocations: 0 / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.2915, allocations: 47.95 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.2921, allocations: 332.5 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.2923, allocations: 58.61 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.2924, allocations: 32.95 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.2924, allocations: 12 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/0.2927, allocations: 87.3 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 2.605e-06/0.2927, allocations: 0 / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0004437/0.2931, allocations: 133.5 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.2932, allocations: 59.41 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2933, allocations: 117.8 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.2933, allocations: 33.7 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.2934, allocations: 88.14 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.2934, allocations: 23.78 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.357e-05/0.2935, allocations: 41.62 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.2936, allocations: 322.7 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.2938, allocations: 59.95 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.2939, allocations: 84.25 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.2942, allocations: 138.2 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2942, allocations: 4 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004194/0.2946, allocations: 203.2 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.2947, allocations: 41.69 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.2947, allocations: 4 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2947, allocations: 8.125 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.2948, allocations: 11.98 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2948, allocations: 0 / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.295, allocations: 39.81 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.2951, allocations: 11.98 kB / 1.171 GB, free: 1.793 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.0001071/0.2952, allocations: 125.7 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.2952, allocations: 11.89 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.2952, allocations: 12.38 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2952, allocations: 0 / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.2953, allocations: 0 / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2953, allocations: 3.938 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005433/0.2958, allocations: 378.4 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2958, allocations: 0 / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.269e-05/0.2959, allocations: 7.984 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2959, allocations: 4 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.2959, allocations: 4 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2959, allocations: 4 kB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2959, allocations: 0 / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.2963, allocations: 203.3 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.2963, allocations: 85.02 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.2964, allocations: 11.98 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.2965, allocations: 4 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.2965, allocations: 11.92 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.2965, allocations: 0 / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.315e-05/0.2966, allocations: 99.69 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2966, allocations: 0 / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002931/0.2969, allocations: 28 kB / 1.172 GB, free: 0.7188 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.0006954/0.2976, allocations: 0.7435 MB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004008/0.298, allocations: 179.3 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.298, allocations: 256 / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.2982, allocations: 39.92 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.2985, allocations: 20.25 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.3006, allocations: 1.687 MB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.3009, allocations: 0.6885 MB / 1.175 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.756e-05/0.3009, allocations: 15.92 kB / 1.175 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.301, allocations: 19.44 kB / 1.175 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.301, allocations: 0 / 1.175 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/0.3209, allocations: 2.56 MB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/8.008, allocations: 11.92 kB / 1.178 GB, free: 10.69 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 & /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