Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_latest_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.008818/0.008824, allocations: 104.6 kB / 15.74 MB, free: 5.984 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.001652/0.001652, allocations: 197.5 kB / 16.67 MB, free: 5.91 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.509/2.509, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001368, allocations: 59.91 kB / 1.054 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8844/0.8858, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002207/0.8881, allocations: 0.7451 MB / 1.208 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.8896, allocations: 1.151 MB / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.875e-05/0.8897, allocations: 0 / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.8898, allocations: 3.938 kB / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.305e-05/0.8899, allocations: 11.88 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.8905, allocations: 135.2 kB / 1.209 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.8906, allocations: 123.7 kB / 1.209 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.8908, allocations: 15.98 kB / 1.209 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.8909, allocations: 51.89 kB / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.891, allocations: 43.88 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.891, allocations: 15.94 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.007e-05/0.8911, allocations: 23.98 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.8911, allocations: 4 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.747e-05/0.8912, allocations: 47.83 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.8914, allocations: 111.6 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.8914, allocations: 7.984 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8914, allocations: 0 / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.8915, allocations: 0 / 1.21 GB, free: 11.05 MB / 0.9356 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.0007104/0.8922, allocations: 411.2 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.8922, allocations: 15.97 kB / 1.21 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.8923, allocations: 34.75 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.8923, allocations: 8.844 kB / 1.21 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.8925, allocations: 168.3 kB / 1.21 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.8925, allocations: 8.375 kB / 1.21 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.8926, allocations: 12.36 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.8928, allocations: 62.17 kB / 1.21 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.8928, allocations: 3.938 kB / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.8928, allocations: 0 / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.8928, allocations: 4 kB / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.893, allocations: 43.94 kB / 1.21 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.8936, allocations: 340.6 kB / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.8938, allocations: 58.55 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.8939, allocations: 32.97 kB / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.8939, allocations: 3.984 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.8942, allocations: 87.31 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.8942, allocations: 0 / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004631/0.8946, allocations: 149.5 kB / 1.211 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.8947, allocations: 55.41 kB / 1.211 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.963e-05/0.8948, allocations: 125.8 kB / 1.211 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.8948, allocations: 29.7 kB / 1.211 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.8949, allocations: 88.12 kB / 1.211 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.8949, allocations: 23.66 kB / 1.211 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.482e-05/0.895, allocations: 37.7 kB / 1.211 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.8951, allocations: 326.8 kB / 1.212 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.8953, allocations: 51.95 kB / 1.212 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.8955, allocations: 80.27 kB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.8957, allocations: 145.9 kB / 1.212 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8958, allocations: 0 / 1.212 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004333/0.8962, allocations: 211.2 kB / 1.212 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.958e-05/0.8962, allocations: 33.7 kB / 1.212 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.8963, allocations: 3.984 kB / 1.212 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.8963, allocations: 0 / 1.212 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.695e-05/0.8964, allocations: 16.11 kB / 1.212 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.8964, allocations: 12.25 kB / 1.212 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.8966, allocations: 35.86 kB / 1.212 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.8966, allocations: 8 kB / 1.212 GB, free: 8.09 MB / 0.9356 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.234e-05/0.8967, allocations: 121.8 kB / 1.212 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.8968, allocations: 11.89 kB / 1.212 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.8968, allocations: 8.375 kB / 1.212 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.8968, allocations: 8 kB / 1.212 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.8968, allocations: 0 / 1.212 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.8968, allocations: 3.938 kB / 1.212 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.8973, allocations: 378.3 kB / 1.213 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.8973, allocations: 0 / 1.213 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.124e-05/0.8974, allocations: 11.98 kB / 1.213 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.8974, allocations: 0 / 1.213 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.8974, allocations: 4 kB / 1.213 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.8974, allocations: 0 / 1.213 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.8974, allocations: 0 / 1.213 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.8977, allocations: 219.3 kB / 1.213 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.8978, allocations: 84.95 kB / 1.213 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.8978, allocations: 4 kB / 1.213 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.669e-05/0.8979, allocations: 16.05 kB / 1.213 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.8979, allocations: 11.92 kB / 1.213 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.8979, allocations: 4 kB / 1.213 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.244e-05/0.898, allocations: 87.28 kB / 1.213 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/0.898, allocations: 0 / 1.213 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002692/0.8983, allocations: 27.98 kB / 1.213 GB, free: 7.004 MB / 0.9356 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.0006193/0.8989, allocations: 0.7457 MB / 1.214 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003842/0.8993, allocations: 175.2 kB / 1.214 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8993, allocations: 0 / 1.214 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.8994, allocations: 40.22 kB / 1.214 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.8997, allocations: 25.3 kB / 1.214 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.9019, allocations: 1.688 MB / 1.216 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.9023, allocations: 0.6885 MB / 1.217 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.632e-05/0.9023, allocations: 4 kB / 1.217 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.9024, allocations: 23.44 kB / 1.217 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.9024, allocations: 0 / 1.217 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.9225, allocations: 2.588 MB / 1.219 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/8.637, allocations: 10.28 kB / 1.219 GB, free: 0.9531 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches