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.001092/0.001092, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007931/0.007931, allocations: 169 kB / 16.26 MB, free: 6.652 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.36/1.36, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.706/2.706, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003894, allocations: 9.906 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.306, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.0009411/0.307, allocations: 349.8 kB / 1.059 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.3085, allocations: 1.108 MB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.3086, allocations: 0 / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.3086, allocations: 7.984 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.431e-05/0.3087, allocations: 7.922 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.3092, allocations: 102.7 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.3093, allocations: 83.83 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3094, allocations: 4 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.179e-05/0.3095, allocations: 31.91 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.549e-05/0.3096, allocations: 31.83 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.3097, allocations: 4 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.101e-05/0.3098, allocations: 15.98 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.3098, allocations: 8 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.87e-05/0.3099, allocations: 45.62 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.3101, allocations: 83.77 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3101, allocations: 4 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3101, allocations: 0 / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.3101, allocations: 0 / 1.061 GB, free: 2.996 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.0005343/0.3106, allocations: 357.5 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.3107, allocations: 11.97 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.3108, allocations: 30.75 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.3108, allocations: 8.844 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.311, allocations: 160.4 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.311, allocations: 8.375 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.3111, allocations: 16.3 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.3112, allocations: 34.27 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3112, allocations: 7.922 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.3112, allocations: 4 kB / 1.061 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3112, allocations: 0 / 1.061 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.152e-05/0.3113, allocations: 4 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.3118, allocations: 292.8 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.548e-05/0.3118, allocations: 26.56 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.178e-05/0.3119, allocations: 12.86 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.3119, allocations: 0 / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.3121, allocations: 63.39 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.3121, allocations: 0 / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002248/0.3123, allocations: 61.53 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.3124, allocations: 55.41 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.3125, allocations: 109.8 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.3125, allocations: 29.7 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.3126, allocations: 80.14 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.3126, allocations: 11.91 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.3126, allocations: 17.66 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3128, allocations: 318.8 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/0.3129, allocations: 31.98 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.976e-05/0.313, allocations: 46.56 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.3131, allocations: 84.2 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3131, allocations: 0 / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002722/0.3134, allocations: 143.3 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/0.3134, allocations: 35.09 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3134, allocations: 4.312 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3135, allocations: 3.938 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.05e-05/0.3135, allocations: 4.328 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3135, allocations: 8 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.3138, allocations: 35.91 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.3138, allocations: 7.984 kB / 1.063 GB, free: 0.6367 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 0.0001265/0.3139, allocations: 125.8 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.314, allocations: 11.89 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.314, allocations: 7.438 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.314, allocations: 0 / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.314, allocations: 0 / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.314, allocations: 0 / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.3142, allocations: 169.6 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3142, allocations: 0 / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-06/0.3142, allocations: 0 / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3142, allocations: 0 / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.3142, allocations: 0 / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3142, allocations: 8 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3142, allocations: 0 / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.3143, allocations: 81.05 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.3144, allocations: 77.11 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.3144, allocations: 4 kB / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.346e-05/0.3144, allocations: 0 / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.3144, allocations: 0 / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3145, allocations: 0 / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.172e-05/0.3145, allocations: 95.2 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3145, allocations: 0 / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002027/0.3147, allocations: 19.91 kB / 1.063 GB, free: 15.95 MB / 0.8262 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.0003846/0.3151, allocations: 0.6163 MB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.3153, allocations: 127.3 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3153, allocations: 0 / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.3154, allocations: 8 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.3156, allocations: 11.98 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.3169, allocations: 1.366 MB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.3172, allocations: 0.6809 MB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.215e-05/0.3173, allocations: 4 kB / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.3173, allocations: 11.42 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.3173, allocations: 0 / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01101/0.3283, allocations: 1.678 MB / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/0.3286, allocations: 207.1 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.108, allocations: 0 / 1.068 GB, free: 11.16 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