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.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.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.0007961/0.0007961, allocations: 91.84 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.005348/0.005348, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.337/1.337, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.487/2.487, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003842, allocations: 12 kB / 0.873 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6729/0.6733, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.0008607/0.6743, allocations: 353.2 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.6757, allocations: 1.113 MB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/0.6757, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.6758, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.806e-05/0.6758, allocations: 7.938 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.6763, allocations: 111.3 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.6764, allocations: 79.83 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.6765, allocations: 4 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.784e-05/0.6766, allocations: 27.97 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.318e-05/0.6767, allocations: 27.91 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.6768, allocations: 4 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.558e-05/0.6768, allocations: 19.98 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.6769, allocations: 4 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.684e-05/0.6769, allocations: 53.59 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.6771, allocations: 79.78 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.6771, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.845e-06/0.6771, allocations: 3.938 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.6772, allocations: 0 / 1.025 GB, free: 13.92 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005448/0.6777, allocations: 359.5 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.6778, allocations: 8.031 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.6778, allocations: 34.73 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.6779, allocations: 12.94 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.678, allocations: 172.2 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.6781, allocations: 384 / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.6781, allocations: 8.375 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.6782, allocations: 42.19 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.6782, allocations: 3.938 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.6783, allocations: 0 / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.6783, allocations: 0 / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.132e-05/0.6783, allocations: 15.92 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.6788, allocations: 292.8 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.53e-05/0.6789, allocations: 22.58 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.6789, allocations: 4.859 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.6789, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.679, allocations: 63.39 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.679, allocations: 4 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002275/0.6793, allocations: 61.67 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.6793, allocations: 55.41 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.818e-05/0.6794, allocations: 101.8 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.6795, allocations: 29.7 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.6795, allocations: 88.12 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.6796, allocations: 11.84 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.6796, allocations: 13.72 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6797, allocations: 322.8 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.6798, allocations: 31.97 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.97e-05/0.6799, allocations: 50.5 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.68, allocations: 80.48 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.68, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002416/0.6803, allocations: 147.4 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.6803, allocations: 35.89 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6803, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.6804, allocations: 3.984 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.013e-05/0.6804, allocations: 7.938 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.6804, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.6806, allocations: 40 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.6807, allocations: 4 kB / 1.027 GB, free: 11.56 MB / 0.7794 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 0.0001097/0.6808, allocations: 122.3 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-06/0.6808, allocations: 3.906 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.6808, allocations: 7.5 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6808, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6809, allocations: 4 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.6809, allocations: 0 / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.681, allocations: 157.6 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.681, allocations: 4 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-06/0.681, allocations: 3.984 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.681, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.681, allocations: 4 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6811, allocations: 3.938 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6811, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.6812, allocations: 81 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.6812, allocations: 81.11 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.6813, allocations: 4.312 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.63e-05/0.6813, allocations: 7.984 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.6813, allocations: 0 / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.6813, allocations: 4 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.319e-05/0.6814, allocations: 83.28 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.833e-06/0.6814, allocations: 0 / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002029/0.6816, allocations: 19.92 kB / 1.028 GB, free: 10.88 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: 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.0004418/0.682, allocations: 0.6279 MB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.6823, allocations: 115.4 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6823, allocations: 4 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.942e-05/0.6823, allocations: 11.98 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.6825, allocations: 4 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.684, allocations: 1.362 MB / 1.03 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.6842, allocations: 0.6809 MB / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.877e-05/0.6843, allocations: 0 / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.6843, allocations: 11.44 kB / 1.03 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.6843, allocations: 0 / 1.03 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.7101, allocations: 1.691 MB / 1.032 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.7103, allocations: 201.2 kB / 1.032 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.429, allocations: 0 / 1.032 GB, free: 6.086 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/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