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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.005361/0.005361, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001412/0.001413, allocations: 195 kB / 16.68 MB, free: 5.969 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.655/2.655, allocations: 482.6 MB / 0.7551 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 69.58 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2875, allocations: 162.3 MB / 1.242 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001676/0.2893, allocations: 0.609 MB / 1.242 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.2905, allocations: 1.106 MB / 1.244 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.2906, allocations: 4 kB / 1.244 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/0.2906, allocations: 3.938 kB / 1.244 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.603e-05/0.2907, allocations: 3.938 kB / 1.244 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.2911, allocations: 126.7 kB / 1.244 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.2913, allocations: 91.88 kB / 1.244 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.34e-05/0.2913, allocations: 7.984 kB / 1.244 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/0.2914, allocations: 35.92 kB / 1.244 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.787e-05/0.2915, allocations: 27.95 kB / 1.244 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.2915, allocations: 8 kB / 1.244 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.17e-05/0.2916, allocations: 27.97 kB / 1.244 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.2916, allocations: 7.938 kB / 1.244 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.2917, allocations: 23.97 kB / 1.244 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.2918, allocations: 80.02 kB / 1.244 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2918, allocations: 0 / 1.244 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2919, allocations: 4 kB / 1.244 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2919, allocations: 0 / 1.244 GB, free: 6.77 MB / 0.9669 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.0004485/0.2923, allocations: 381 kB / 1.244 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2924, allocations: 12.03 kB / 1.244 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.2924, allocations: 34.73 kB / 1.244 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.2924, allocations: 8.875 kB / 1.244 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.2926, allocations: 168.3 kB / 1.245 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2926, allocations: 4.375 kB / 1.245 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.2926, allocations: 4.375 kB / 1.245 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.375e-05/0.2927, allocations: 38.25 kB / 1.245 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2927, allocations: 3.938 kB / 1.245 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.2927, allocations: 8 kB / 1.245 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2927, allocations: 0 / 1.245 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.37e-05/0.2928, allocations: 15.86 kB / 1.245 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.2931, allocations: 284.8 kB / 1.245 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.976e-05/0.2932, allocations: 22.58 kB / 1.245 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.736e-05/0.2932, allocations: 8.922 kB / 1.245 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.2932, allocations: 0 / 1.245 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/0.2933, allocations: 63.33 kB / 1.245 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2933, allocations: 4 kB / 1.245 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000165/0.2935, allocations: 65.62 kB / 1.245 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.2936, allocations: 51.41 kB / 1.245 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.933e-05/0.2936, allocations: 105.9 kB / 1.245 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.2937, allocations: 25.7 kB / 1.245 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.2937, allocations: 88.12 kB / 1.245 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.2938, allocations: 15.94 kB / 1.245 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.2938, allocations: 29.7 kB / 1.245 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2939, allocations: 318.8 kB / 1.246 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.878e-05/0.294, allocations: 23.98 kB / 1.246 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-05/0.2941, allocations: 58.67 kB / 1.246 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.2942, allocations: 88.3 kB / 1.246 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2942, allocations: 0 / 1.246 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002319/0.2945, allocations: 135.3 kB / 1.246 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.2945, allocations: 37.7 kB / 1.246 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2945, allocations: 0 / 1.246 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.2945, allocations: 4 kB / 1.246 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.424e-05/0.2946, allocations: 3.938 kB / 1.246 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2946, allocations: 3.984 kB / 1.246 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.2948, allocations: 32.02 kB / 1.246 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.2948, allocations: 7.938 kB / 1.246 GB, free: 4.379 MB / 0.9669 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.773e-05/0.2949, allocations: 125.7 kB / 1.246 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-06/0.2949, allocations: 0 / 1.246 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.686e-05/0.2949, allocations: 3.5 kB / 1.246 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.2949, allocations: 0 / 1.246 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2949, allocations: 7.984 kB / 1.246 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2949, allocations: 0 / 1.246 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.295, allocations: 157.6 kB / 1.246 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2951, allocations: 4 kB / 1.246 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-06/0.2951, allocations: 0 / 1.246 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2951, allocations: 4 kB / 1.246 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.2951, allocations: 0 / 1.246 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.2951, allocations: 0 / 1.246 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2951, allocations: 0 / 1.246 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.2952, allocations: 84.98 kB / 1.246 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.2952, allocations: 85.06 kB / 1.246 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.2953, allocations: 7.938 kB / 1.246 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.42e-05/0.2953, allocations: 4 kB / 1.246 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.2953, allocations: 3.984 kB / 1.247 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.2953, allocations: 4.312 kB / 1.247 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.255e-05/0.2954, allocations: 83.28 kB / 1.247 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2954, allocations: 0 / 1.247 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001997/0.2956, allocations: 16 kB / 1.247 GB, free: 3.703 MB / 0.9669 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.0004068/0.296, allocations: 0.6207 MB / 1.247 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.2962, allocations: 115.4 kB / 1.247 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2962, allocations: 0 / 1.247 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-05/0.2962, allocations: 12 kB / 1.247 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.2964, allocations: 13.64 kB / 1.247 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.2977, allocations: 1.362 MB / 1.249 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.298, allocations: 0.6768 MB / 1.249 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.531e-05/0.298, allocations: 0 / 1.249 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.2981, allocations: 15.42 kB / 1.249 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/0.2981, allocations: 0 / 1.249 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8221/1.12, allocations: 1.914 MB / 1.251 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/11.39, allocations: 25.03 kB / 1.251 GB, free: 14.88 MB / 0.9825 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=400 --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