Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.Not,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Not",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.009464/0.009464, allocations: 98.64 kB / 15.73 MB, free: 5.602 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.00182/0.00182, allocations: 196.1 kB / 16.68 MB, free: 5.523 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.576/2.576, allocations: 437.1 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.91 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9817/0.9832, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001864/0.9851, allocations: 0.6212 MB / 1.167 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.9865, allocations: 1.123 MB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.9866, allocations: 0 / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/0.9866, allocations: 4 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.419e-05/0.9867, allocations: 7.938 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.9872, allocations: 119.2 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.9873, allocations: 87.88 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.277e-05/0.9874, allocations: 12 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.828e-05/0.9875, allocations: 39.91 kB / 1.168 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.725e-05/0.9876, allocations: 35.88 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.9877, allocations: 11.94 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.831e-05/0.9877, allocations: 20 kB / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.9878, allocations: 3.984 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.323e-05/0.9878, allocations: 27.92 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.988, allocations: 79.78 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.988, allocations: 4 kB / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.533e-06/0.988, allocations: 0 / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.988, allocations: 4 kB / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004605/0.9885, allocations: 372.8 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.9885, allocations: 12.92 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.9886, allocations: 30.75 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.9886, allocations: 8.891 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.9887, allocations: 164.3 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.9887, allocations: 8.359 kB / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.9888, allocations: 4.375 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.339e-05/0.9889, allocations: 42.19 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.9889, allocations: 15.92 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.9889, allocations: 3.938 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9889, allocations: 0 / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.421e-05/0.989, allocations: 8 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.9893, allocations: 288.8 kB / 1.169 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.713e-05/0.9894, allocations: 26.5 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.9894, allocations: 8.922 kB / 1.169 GB, free: 440 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.9894, allocations: 4 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.9896, allocations: 63.38 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.9896, allocations: 0 / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0001779/0.9898, allocations: 65.58 kB / 1.169 GB, free: 288 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.9898, allocations: 51.41 kB / 1.169 GB, free: 224 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.99, allocations: 105.8 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.99, allocations: 25.7 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.9901, allocations: 92.14 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.9901, allocations: 3.953 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.175e-05/0.9901, allocations: 29.7 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.9903, allocations: 330.7 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-05/0.9903, allocations: 23.98 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.371e-05/0.9904, allocations: 46.56 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.9905, allocations: 88.2 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.9905, allocations: 0 / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002464/0.9908, allocations: 139.3 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.9908, allocations: 37.69 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.9908, allocations: 0 / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.9909, allocations: 4 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.611e-05/0.9909, allocations: 0 / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.9909, allocations: 0 / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.9911, allocations: 32.02 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.9911, allocations: 12 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 8.663e-05/0.9912, allocations: 120 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.9913, allocations: 0 / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.9913, allocations: 3.5 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.257e-06/0.9913, allocations: 4 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.9913, allocations: 0 / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.9913, allocations: 4 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.9914, allocations: 161.6 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.9914, allocations: 3.984 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-06/0.9914, allocations: 3.938 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.9914, allocations: 4 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.9915, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.9915, allocations: 320 / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.9915, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.9916, allocations: 89.22 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.9916, allocations: 89.06 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.9916, allocations: 3.984 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.438e-05/0.9917, allocations: 0 / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.9917, allocations: 0 / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.9917, allocations: 4 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.839e-05/0.9917, allocations: 83.28 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9918, allocations: 0 / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002103/0.992, allocations: 19.92 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003934/0.9924, allocations: 0.6279 MB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.9926, allocations: 123.3 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9926, allocations: 0 / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.823e-05/0.9926, allocations: 12 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.9928, allocations: 8.188 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.9941, allocations: 1.346 MB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.9944, allocations: 0.6768 MB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.103e-05/0.9944, allocations: 4 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.9945, allocations: 11.44 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.9945, allocations: 0 / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/1.013, allocations: 1.922 MB / 1.176 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/8.69, allocations: 6.5 kB / 1.176 GB, free: 9.699 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches