Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_latest_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.008259/0.008259, allocations: 99.53 kB / 15.73 MB, free: 5.996 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.001268/0.001268, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.539/2.539, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 1.054 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9977/0.9991, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002014/1.001, allocations: 0.6132 MB / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001502/1.003, allocations: 1.112 MB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/1.003, allocations: 0 / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.351e-05/1.003, allocations: 0 / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/1.003, allocations: 19.91 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006129/1.004, allocations: 119.7 kB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/1.004, allocations: 83.89 kB / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/1.004, allocations: 15.94 kB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/1.004, allocations: 43.83 kB / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/1.004, allocations: 23.97 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/1.004, allocations: 8 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.2e-05/1.004, allocations: 27.92 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/1.004, allocations: 0 / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.671e-05/1.004, allocations: 35.89 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/1.004, allocations: 71.86 kB / 1.209 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.004, allocations: 3.938 kB / 1.209 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.803e-06/1.004, allocations: 4 kB / 1.209 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.025e-06/1.004, allocations: 4 kB / 1.209 GB, free: 11.35 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006185/1.005, allocations: 379.4 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.005, allocations: 12.03 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/1.005, allocations: 30.75 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.428e-05/1.005, allocations: 4.938 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/1.005, allocations: 164.3 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/1.005, allocations: 4.375 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/1.005, allocations: 8.312 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/1.006, allocations: 42.25 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.006, allocations: 3.938 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/1.006, allocations: 0 / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/1.006, allocations: 4 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.116e-05/1.006, allocations: 11.98 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/1.006, allocations: 288.8 kB / 1.21 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.155e-05/1.006, allocations: 22.52 kB / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.179e-05/1.006, allocations: 16.91 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.201e-06/1.006, allocations: 0 / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/1.006, allocations: 51.41 kB / 1.21 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/1.006, allocations: 0 / 1.21 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002105/1.007, allocations: 69.61 kB / 1.21 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/1.007, allocations: 51.41 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.878e-05/1.007, allocations: 105.8 kB / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/1.007, allocations: 29.7 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/1.007, allocations: 92.05 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.011e-05/1.007, allocations: 0 / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/1.007, allocations: 29.7 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.007, allocations: 318.8 kB / 1.211 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.775e-05/1.007, allocations: 31.97 kB / 1.211 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-05/1.007, allocations: 46.56 kB / 1.211 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/1.007, allocations: 88.42 kB / 1.211 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/1.007, allocations: 7.938 kB / 1.211 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002399/1.008, allocations: 147.1 kB / 1.211 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/1.008, allocations: 33.7 kB / 1.211 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.008, allocations: 4.297 kB / 1.211 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.008, allocations: 7.984 kB / 1.211 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.675e-05/1.008, allocations: 4 kB / 1.211 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/1.008, allocations: 4.094 kB / 1.211 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/1.008, allocations: 27.97 kB / 1.211 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/1.008, allocations: 4 kB / 1.211 GB, free: 8.973 MB / 0.9356 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.0001014/1.008, allocations: 117.8 kB / 1.212 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/1.008, allocations: 0 / 1.212 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/1.008, allocations: 15.42 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/1.008, allocations: 0 / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.008, allocations: 4 kB / 1.212 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.008, allocations: 4 kB / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/1.008, allocations: 161.6 kB / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.008, allocations: 0 / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.452e-06/1.008, allocations: 0 / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.008, allocations: 0 / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/1.008, allocations: 7.984 kB / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.008, allocations: 0 / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/1.008, allocations: 0 / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/1.008, allocations: 84.97 kB / 1.212 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/1.009, allocations: 77.11 kB / 1.212 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/1.009, allocations: 4 kB / 1.212 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.277e-05/1.009, allocations: 0 / 1.212 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/1.009, allocations: 3.984 kB / 1.212 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/1.009, allocations: 4 kB / 1.212 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.764e-05/1.009, allocations: 87.22 kB / 1.212 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/1.009, allocations: 0 / 1.212 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002072/1.009, allocations: 12 kB / 1.212 GB, free: 8.301 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: 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.0004264/1.009, allocations: 0.6202 MB / 1.213 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002209/1.01, allocations: 119.3 kB / 1.213 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.01, allocations: 0 / 1.213 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.367e-05/1.01, allocations: 15.98 kB / 1.213 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/1.01, allocations: 8.188 kB / 1.213 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/1.011, allocations: 1.365 MB / 1.214 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/1.011, allocations: 0.6806 MB / 1.215 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.189e-05/1.012, allocations: 4.219 kB / 1.215 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/1.012, allocations: 15.44 kB / 1.215 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/1.012, allocations: 4 kB / 1.215 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/1.031, allocations: 1.948 MB / 1.217 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.522/8.552, allocations: 2.5 kB / 1.217 GB, free: 3.453 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches