Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_9_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.01394/0.01394, allocations: 103.3 kB / 15.74 MB, free: 5.957 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.002836/0.002836, allocations: 191.4 kB / 16.67 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.369/2.369, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.18/3.18, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 63.91 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428/1.43, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001905/1.432, allocations: 0.6191 MB / 1.088 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001433/1.433, allocations: 1.113 MB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/1.434, allocations: 0 / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/1.434, allocations: 1.469 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.878e-05/1.434, allocations: 4.641 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/1.434, allocations: 126 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000179/1.434, allocations: 90.5 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/1.434, allocations: 8.016 kB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.39e-05/1.435, allocations: 33.98 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/1.435, allocations: 35.39 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/1.435, allocations: 7.594 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.142e-05/1.435, allocations: 22.02 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/1.435, allocations: 10.17 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/1.435, allocations: 26.73 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/1.435, allocations: 85.77 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.435, allocations: 5.219 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/1.435, allocations: 0 / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.172e-06/1.435, allocations: 0 / 1.09 GB, free: 3.863 MB / 0.8575 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.0004327/1.436, allocations: 370.9 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.436, allocations: 9.406 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/1.436, allocations: 32.41 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.451e-05/1.436, allocations: 9.844 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.443e-05/1.436, allocations: 170.4 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/1.436, allocations: 3.406 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/1.436, allocations: 5.109 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/1.436, allocations: 43.98 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/1.436, allocations: 3.938 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/1.436, allocations: 13.08 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/1.436, allocations: 0 / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.023e-05/1.436, allocations: 7.047 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/1.437, allocations: 288.2 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.781e-05/1.437, allocations: 26.58 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/1.437, allocations: 7.391 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-06/1.437, allocations: 0.9375 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/1.437, allocations: 69 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/1.437, allocations: 0 / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002303/1.437, allocations: 63.95 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/1.437, allocations: 53.17 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/1.437, allocations: 103.1 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/1.437, allocations: 27.8 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/1.437, allocations: 84 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/1.437, allocations: 17.97 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-05/1.437, allocations: 29.48 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.47e-05/1.437, allocations: 318 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.65e-05/1.437, allocations: 26.86 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/1.438, allocations: 49.31 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/1.438, allocations: 86.97 kB / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.438, allocations: 1.891 kB / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002904/1.438, allocations: 137.8 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/1.438, allocations: 39.41 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/1.438, allocations: 0.6562 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/1.438, allocations: 1.375 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.124e-05/1.438, allocations: 2.203 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/1.438, allocations: 1.188 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/1.438, allocations: 32.59 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/1.438, allocations: 5.125 kB / 1.092 GB, free: 1.863 MB / 0.8575 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 7.274e-05/1.438, allocations: 124.1 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/1.438, allocations: 1.828 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/1.439, allocations: 5.062 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.439, allocations: 0.9688 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.439, allocations: 0 / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.439, allocations: 5.641 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.872e-05/1.439, allocations: 160.8 kB / 1.092 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/1.439, allocations: 8.641 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-06/1.439, allocations: 1.062 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/1.439, allocations: 0 / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/1.439, allocations: 1.672 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.439, allocations: 0 / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.439, allocations: 1.656 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.498e-05/1.439, allocations: 84.42 kB / 1.092 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/1.439, allocations: 81.72 kB / 1.092 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/1.439, allocations: 6.234 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.641e-05/1.439, allocations: 9.156 kB / 1.092 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/1.439, allocations: 2.656 kB / 1.092 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/1.439, allocations: 2.281 kB / 1.092 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.937e-05/1.439, allocations: 79.88 kB / 1.092 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/1.439, allocations: 1.094 kB / 1.092 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002304/1.439, allocations: 18.2 kB / 1.092 GB, free: 1.258 MB / 0.8575 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.00039/1.44, allocations: 0.6211 MB / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002305/1.44, allocations: 119.4 kB / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.44, allocations: 0.8438 kB / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.966e-05/1.44, allocations: 11.58 kB / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/1.44, allocations: 10.61 kB / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/1.442, allocations: 1.363 MB / 1.094 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/1.442, allocations: 0.6781 MB / 1.095 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.494e-05/1.442, allocations: 2.922 kB / 1.095 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/1.442, allocations: 9.891 kB / 1.095 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of SimCode: time 1.753e-06/1.442, allocations: 0 / 1.095 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9388/2.381, allocations: 1.913 MB / 1.097 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/14.24, allocations: 4.625 kB / 1.097 GB, free: 14.17 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches