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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001258/0.001258, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001307/0.001306, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.25/1.25, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.48/2.48, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 65.25 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2705, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001797/0.2724, allocations: 0.6805 MB / 1.053 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.2737, allocations: 1.116 MB / 1.054 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.2737, allocations: 0 / 1.054 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/0.2738, allocations: 3.938 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.991e-05/0.2738, allocations: 11.92 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.2742, allocations: 110.2 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.906e-05/0.2743, allocations: 71.88 kB / 1.054 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.665e-05/0.2744, allocations: 8 kB / 1.054 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.744e-05/0.2745, allocations: 23.98 kB / 1.054 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.444e-05/0.2745, allocations: 35.88 kB / 1.054 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.2746, allocations: 4 kB / 1.054 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.496e-05/0.2746, allocations: 15.94 kB / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.2747, allocations: 11.98 kB / 1.054 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.2747, allocations: 23.92 kB / 1.054 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.2748, allocations: 79.78 kB / 1.054 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2749, allocations: 4 kB / 1.054 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.41e-07/0.2749, allocations: 0 / 1.054 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.2749, allocations: 0 / 1.054 GB, free: 6.031 MB / 0.8106 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.0004291/0.2753, allocations: 371.2 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2754, allocations: 15.97 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.771e-05/0.2754, allocations: 30.75 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.2754, allocations: 12.84 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.2755, allocations: 164.4 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.2756, allocations: 8.375 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.2756, allocations: 8.359 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.081e-05/0.2757, allocations: 38.25 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2757, allocations: 3.938 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.2757, allocations: 7.938 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2757, allocations: 0 / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.046e-05/0.2757, allocations: 8 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.2761, allocations: 292.8 kB / 1.055 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.923e-05/0.2761, allocations: 22.52 kB / 1.055 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.2762, allocations: 12.92 kB / 1.055 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.2762, allocations: 3.938 kB / 1.055 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.2763, allocations: 63.33 kB / 1.055 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2763, allocations: 4 kB / 1.055 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001699/0.2765, allocations: 61.59 kB / 1.055 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.2765, allocations: 51.41 kB / 1.055 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.661e-05/0.2766, allocations: 105.8 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.2766, allocations: 33.64 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.2767, allocations: 88.12 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.969e-06/0.2767, allocations: 3.906 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.2768, allocations: 29.7 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2769, allocations: 330.8 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.671e-05/0.277, allocations: 23.98 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.551e-05/0.277, allocations: 50.58 kB / 1.056 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.2772, allocations: 80.2 kB / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2772, allocations: 0 / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002305/0.2774, allocations: 143.3 kB / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.2774, allocations: 37.69 kB / 1.056 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2774, allocations: 0 / 1.056 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2775, allocations: 4 kB / 1.056 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.441e-05/0.2775, allocations: 0 / 1.056 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.2775, allocations: 0 / 1.056 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.2777, allocations: 35.81 kB / 1.056 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.2777, allocations: 11.98 kB / 1.056 GB, free: 3.641 MB / 0.8106 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.32e-05/0.2778, allocations: 117.9 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-06/0.2778, allocations: 0 / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.2779, allocations: 7.5 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2779, allocations: 4 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2779, allocations: 240 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2779, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.278, allocations: 161.6 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.278, allocations: 4.297 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-06/0.278, allocations: 0 / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.278, allocations: 8 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.278, allocations: 4 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.278, allocations: 0 / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.278, allocations: 7.875 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.174e-05/0.2781, allocations: 81.08 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.2782, allocations: 89 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.2782, allocations: 3.938 kB / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.298e-05/0.2782, allocations: 0 / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.2782, allocations: 0 / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.2782, allocations: 8 kB / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.2783, allocations: 87.27 kB / 1.057 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8e-08/0.2783, allocations: 0 / 1.057 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001965/0.2785, allocations: 12 kB / 1.057 GB, free: 2.961 MB / 0.8106 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.0003597/0.2789, allocations: 0.6202 MB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001853/0.279, allocations: 119.4 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2791, allocations: 4 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.581e-05/0.2791, allocations: 11.94 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.2793, allocations: 11.98 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.2805, allocations: 1.344 MB / 1.059 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.2808, allocations: 0.6809 MB / 1.06 GB, free: 0 / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.755e-05/0.2808, allocations: 0 / 1.06 GB, free: 0 / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.2808, allocations: 11.52 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2808, allocations: 3.938 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01075/0.2916, allocations: 1.751 MB / 1.061 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.2918, allocations: 207.7 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/1.981, allocations: 0 / 1.062 GB, free: 14.08 MB / 0.8262 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