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.001554/0.001554, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00196/0.00196, allocations: 192.1 kB / 16.25 MB, free: 6.637 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.487/1.487, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.486/2.486, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 67.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8709/0.8726, allocations: 140.3 MB / 0.9492 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001952/0.8745, allocations: 0.6672 MB / 0.9499 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.8758, allocations: 1.11 MB / 0.951 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.8758, allocations: 0 / 0.951 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.8759, allocations: 3.938 kB / 0.951 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.519e-05/0.876, allocations: 5.312 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.8764, allocations: 105.7 kB / 0.9511 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.8766, allocations: 101.1 kB / 0.9512 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.911e-05/0.8767, allocations: 6.75 kB / 0.9512 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.502e-05/0.8767, allocations: 36.53 kB / 0.9512 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.8768, allocations: 27.3 kB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.8768, allocations: 7.312 kB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.512e-05/0.8769, allocations: 21.67 kB / 0.9513 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.8769, allocations: 10.75 kB / 0.9513 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.877, allocations: 25.67 kB / 0.9513 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.8771, allocations: 78.41 kB / 0.9514 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8772, allocations: 1.125 kB / 0.9514 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8772, allocations: 0 / 0.9514 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.8772, allocations: 0 / 0.9514 GB, free: 7.391 MB / 0.7169 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.0004676/0.8776, allocations: 370.5 kB / 0.9517 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.8777, allocations: 9.75 kB / 0.9518 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.784e-05/0.8777, allocations: 34.75 kB / 0.9518 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.8778, allocations: 8.781 kB / 0.9518 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.8779, allocations: 181.2 kB / 0.952 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.8779, allocations: 3.625 kB / 0.952 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.8779, allocations: 4.5 kB / 0.952 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.8781, allocations: 40.56 kB / 0.952 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.8781, allocations: 3.938 kB / 0.952 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.8781, allocations: 0 / 0.952 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.8781, allocations: 1.344 kB / 0.952 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.177e-05/0.8781, allocations: 3.812 kB / 0.952 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.8785, allocations: 298.9 kB / 0.9523 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.919e-05/0.8786, allocations: 22.39 kB / 0.9523 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.8786, allocations: 7.297 kB / 0.9523 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.8786, allocations: 3.984 kB / 0.9523 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.8788, allocations: 61.48 kB / 0.9524 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.8788, allocations: 1.281 kB / 0.9524 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002176/0.8791, allocations: 62.31 kB / 0.9525 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.8791, allocations: 52.88 kB / 0.9525 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.146e-05/0.8792, allocations: 112.2 kB / 0.9526 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.8792, allocations: 28.23 kB / 0.9526 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.8793, allocations: 90.59 kB / 0.9527 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.8793, allocations: 5.031 kB / 0.9527 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.8794, allocations: 33.12 kB / 0.9528 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.8795, allocations: 320 kB / 0.9531 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/0.8796, allocations: 30.89 kB / 0.9531 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.916e-05/0.8797, allocations: 48.22 kB / 0.9531 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.8798, allocations: 84.95 kB / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8798, allocations: 0 / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002721/0.8801, allocations: 141.2 kB / 0.9534 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.775e-05/0.8802, allocations: 42.44 kB / 0.9534 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.8802, allocations: 1.188 kB / 0.9534 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.8802, allocations: 1.281 kB / 0.9534 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.117e-05/0.8802, allocations: 1.219 kB / 0.9534 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.8802, allocations: 1.219 kB / 0.9534 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.8805, allocations: 23.97 kB / 0.9534 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.8805, allocations: 8.172 kB / 0.9534 GB, free: 5.281 MB / 0.7169 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 9.734e-05/0.8806, allocations: 135 kB / 0.9536 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.8806, allocations: 5.062 kB / 0.9536 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.8807, allocations: 4.562 kB / 0.9536 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.8807, allocations: 1.094 kB / 0.9536 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.8807, allocations: 0 / 0.9536 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.8807, allocations: 1.344 kB / 0.9536 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.8808, allocations: 166.6 kB / 0.9537 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.8808, allocations: 0 / 0.9537 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-06/0.8809, allocations: 1.25 kB / 0.9537 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.8809, allocations: 5.5 kB / 0.9537 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.8809, allocations: 0 / 0.9537 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8809, allocations: 0 / 0.9537 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8809, allocations: 1.469 kB / 0.9537 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.881, allocations: 81.36 kB / 0.9538 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.881, allocations: 78.58 kB / 0.9539 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.8811, allocations: 5.219 kB / 0.9539 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.335e-05/0.8811, allocations: 320 / 0.9539 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.8811, allocations: 5.438 kB / 0.9539 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.8811, allocations: 5.625 kB / 0.9539 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.003e-05/0.8812, allocations: 87.52 kB / 0.954 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8812, allocations: 0 / 0.954 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000226/0.8814, allocations: 15.47 kB / 0.954 GB, free: 4.652 MB / 0.7169 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.0004368/0.8819, allocations: 0.6285 MB / 0.9546 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.8822, allocations: 123.2 kB / 0.9547 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8822, allocations: 0 / 0.9547 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.761e-05/0.8822, allocations: 7.344 kB / 0.9548 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.8825, allocations: 18.83 kB / 0.9548 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.8839, allocations: 1.361 MB / 0.9561 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.884, allocations: 0.6816 MB / 0.9568 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.238e-05/0.884, allocations: 6.406 kB / 0.9568 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.884, allocations: 9.438 kB / 0.9568 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.884, allocations: 0 / 0.9568 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.8961, allocations: 1.807 MB / 0.9585 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.8963, allocations: 203.5 kB / 0.9587 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.688, allocations: 3.938 kB / 0.9587 GB, free: 0.7188 MB / 0.7169 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