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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.00142, allocations: 107.8 kB / 16.27 MB, free: 6.41 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.00146/0.00146, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.296/2.296, allocations: 390.2 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 64.75 kB / 0.8132 GB, free: 33.01 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2948, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002016/0.2968, allocations: 0.6107 MB / 0.9509 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.2986, allocations: 1.115 MB / 0.952 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.2987, allocations: 4 kB / 0.952 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.2988, allocations: 3.938 kB / 0.952 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.589e-05/0.2989, allocations: 7.938 kB / 0.952 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.2994, allocations: 119.5 kB / 0.9521 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.2996, allocations: 99.81 kB / 0.9522 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.051e-05/0.2996, allocations: 4 kB / 0.9522 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.904e-05/0.2997, allocations: 35.91 kB / 0.9522 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.701e-05/0.2998, allocations: 27.91 kB / 0.9523 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.2998, allocations: 8 kB / 0.9523 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.136e-05/0.2999, allocations: 23.97 kB / 0.9523 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.2999, allocations: 0 / 0.9523 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.646e-05/0.3, allocations: 31.92 kB / 0.9523 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.3001, allocations: 79.78 kB / 0.9524 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3001, allocations: 4 kB / 0.9524 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3001, allocations: 0 / 0.9524 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3001, allocations: 0 / 0.9524 GB, free: 6.668 MB / 0.7325 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.0004133/0.3006, allocations: 378.8 kB / 0.9528 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.3006, allocations: 8.031 kB / 0.9528 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.3006, allocations: 4.938 kB / 0.9528 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.634e-05/0.3008, allocations: 168.2 kB / 0.9529 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3008, allocations: 4.375 kB / 0.9529 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.3008, allocations: 8.359 kB / 0.9529 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.713e-05/0.3009, allocations: 38.27 kB / 0.953 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.3009, allocations: 4.188 kB / 0.953 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3009, allocations: 7.922 kB / 0.953 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3009, allocations: 0 / 0.953 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.512e-05/0.301, allocations: 12 kB / 0.953 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.3013, allocations: 284.9 kB / 0.9533 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.422e-05/0.3014, allocations: 26.44 kB / 0.9533 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/0.3014, allocations: 12.92 kB / 0.9533 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.3014, allocations: 0 / 0.9533 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.3015, allocations: 59.39 kB / 0.9534 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3016, allocations: 0 / 0.9534 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0001763/0.3017, allocations: 69.52 kB / 0.9534 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.3018, allocations: 51.41 kB / 0.9535 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.449e-05/0.3019, allocations: 109.8 kB / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.3019, allocations: 25.7 kB / 0.9536 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.3019, allocations: 88.14 kB / 0.9537 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.302, allocations: 7.891 kB / 0.9537 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.302, allocations: 29.7 kB / 0.9537 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.3021, allocations: 322.8 kB / 0.954 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.242e-05/0.3022, allocations: 27.92 kB / 0.9541 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.265e-05/0.3023, allocations: 46.56 kB / 0.9541 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.3024, allocations: 92.14 kB / 0.9542 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3024, allocations: 3.938 kB / 0.9542 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000233/0.3027, allocations: 139.3 kB / 0.9543 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.3027, allocations: 37.69 kB / 0.9544 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3027, allocations: 4 kB / 0.9544 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3027, allocations: 0 / 0.9544 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.502e-05/0.3027, allocations: 4.094 kB / 0.9544 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3028, allocations: 0 / 0.9544 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.303, allocations: 27.91 kB / 0.9544 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.303, allocations: 12 kB / 0.9544 GB, free: 4.328 MB / 0.7325 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.052e-05/0.3031, allocations: 124.8 kB / 0.9545 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.3031, allocations: 3.906 kB / 0.9545 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.967e-05/0.3031, allocations: 3.5 kB / 0.9545 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3031, allocations: 8 kB / 0.9545 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3031, allocations: 0 / 0.9545 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3032, allocations: 0 / 0.9545 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.3033, allocations: 165.6 kB / 0.9547 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3033, allocations: 0 / 0.9547 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-06/0.3033, allocations: 4 kB / 0.9547 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3033, allocations: 0 / 0.9547 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.3033, allocations: 320 / 0.9547 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3033, allocations: 0 / 0.9547 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3033, allocations: 4 kB / 0.9547 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.3034, allocations: 81.06 kB / 0.9548 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.3035, allocations: 81.11 kB / 0.9549 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.3035, allocations: 3.984 kB / 0.9549 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.455e-05/0.3035, allocations: 0 / 0.9549 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.3035, allocations: 3.938 kB / 0.9549 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.3035, allocations: 4 kB / 0.9549 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.186e-05/0.3036, allocations: 87.27 kB / 0.955 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3036, allocations: 0 / 0.955 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002168/0.3038, allocations: 16 kB / 0.955 GB, free: 3.652 MB / 0.7325 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.0001483/0.304, allocations: 103.2 kB / 0.9551 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001966/0.3042, allocations: 119.4 kB / 0.9552 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3042, allocations: 0 / 0.9552 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.555e-05/0.3042, allocations: 19.92 kB / 0.9552 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.3044, allocations: 18.47 kB / 0.9552 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.3048, allocations: 148.3 kB / 0.9554 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.305, allocations: 0.6805 MB / 0.956 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.305, allocations: 11.44 kB / 0.956 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.305, allocations: 0 / 0.956 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of Templates: time 0.002632/0.3077, allocations: 0.8612 MB / 0.9569 GB, free: 1.629 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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