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.008698/0.008698, allocations: 104.6 kB / 15.74 MB, free: 6.484 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.001849/0.001849, allocations: 189.1 kB / 16.67 MB, free: 6.379 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.431/2.431, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 64.28 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.284, allocations: 140.4 MB / 1.087 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.003018/0.2871, allocations: 0.6223 MB / 1.088 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00201/0.2891, allocations: 1.11 MB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.768e-05/0.2892, allocations: 0 / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.2893, allocations: 0 / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.943e-05/0.2894, allocations: 7.922 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.29, allocations: 126.9 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.2903, allocations: 95.88 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2904, allocations: 7.984 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.278e-05/0.2905, allocations: 35.97 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.2906, allocations: 31.89 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.2907, allocations: 8 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.69e-05/0.2908, allocations: 23.98 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.2908, allocations: 7.938 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.398e-05/0.2909, allocations: 27.91 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.2911, allocations: 83.78 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2911, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2911, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.2911, allocations: 0 / 1.09 GB, free: 15.74 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.0007284/0.2918, allocations: 372.1 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.481e-05/0.2919, allocations: 8.031 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.292, allocations: 38.75 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.43e-05/0.292, allocations: 12.83 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.2922, allocations: 164.4 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.2923, allocations: 384 / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.2923, allocations: 4.375 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.2925, allocations: 42.25 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.2925, allocations: 3.938 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.2925, allocations: 3.938 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.2925, allocations: 3.938 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.855e-05/0.2926, allocations: 8 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/0.2932, allocations: 293.7 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.947e-05/0.2933, allocations: 22.58 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.2933, allocations: 4.859 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.2933, allocations: 3.938 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003041/0.2937, allocations: 63.36 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 2.084e-06/0.2937, allocations: 7.938 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002592/0.2939, allocations: 57.69 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.294, allocations: 55.41 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.2941, allocations: 105.8 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.2942, allocations: 33.64 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/0.2943, allocations: 92.06 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.2943, allocations: 7.906 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.578e-05/0.2944, allocations: 29.7 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.2945, allocations: 318.8 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.959e-05/0.2946, allocations: 31.98 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-05/0.2947, allocations: 46.55 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.2948, allocations: 80.22 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2948, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000257/0.2951, allocations: 147.3 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.974e-05/0.2951, allocations: 39.73 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2952, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.2952, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.147e-05/0.2952, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.2952, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.2954, allocations: 27.88 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.2955, allocations: 7.984 kB / 1.092 GB, free: 13.38 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 0.0001042/0.2956, allocations: 121.9 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.2956, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.2956, allocations: 7.5 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2956, allocations: 320 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2957, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2957, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.2958, allocations: 177.6 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2958, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.843e-06/0.2958, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2959, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.2959, allocations: 4 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.2959, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2959, allocations: 3.938 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.296, allocations: 89.27 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.2961, allocations: 81.02 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.2961, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.383e-05/0.2961, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.2961, allocations: 4 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.2962, allocations: 4 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.026e-05/0.2962, allocations: 91.2 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2962, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002269/0.2965, allocations: 23.94 kB / 1.092 GB, free: 12.68 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.0005714/0.297, allocations: 0.6163 MB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.2973, allocations: 123.4 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2973, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.174e-05/0.2973, allocations: 11.94 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.2976, allocations: 11.98 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.2992, allocations: 1.353 MB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.2995, allocations: 0.6768 MB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.14e-05/0.2995, allocations: 4 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.2996, allocations: 15.42 kB / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of SimCode: time 4.61e-07/0.2996, allocations: 0 / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.3203, allocations: 1.944 MB / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.212, allocations: 5.875 kB / 1.097 GB, free: 7.844 MB / 0.8575 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