Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.01045/0.01046, allocations: 101.6 kB / 15.88 MB, free: 6.328 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.0026/0.0026, allocations: 194.1 kB / 16.79 MB, free: 6.254 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.45/1.45, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437 MB / 0.7106 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 71.88 kB / 0.8692 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7271/0.7287, allocations: 151.6 MB / 1.017 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002189/0.731, allocations: 0.6877 MB / 1.018 GB, free: 2.223 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.7326, allocations: 1.113 MB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.275e-05/0.7326, allocations: 4 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.424e-05/0.7327, allocations: 3.938 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.521e-05/0.7328, allocations: 3.984 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.7332, allocations: 116.7 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.7334, allocations: 79.83 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.7335, allocations: 7.984 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.398e-05/0.7335, allocations: 23.98 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.669e-05/0.7336, allocations: 31.89 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.7337, allocations: 4 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.507e-05/0.7337, allocations: 15.94 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.7338, allocations: 7.984 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.001e-05/0.7338, allocations: 27.91 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.734, allocations: 55.89 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.734, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.61e-07/0.734, allocations: 3.938 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.734, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.7637 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.0004879/0.7345, allocations: 375.3 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.7345, allocations: 8.031 kB / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.7346, allocations: 4.938 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.7347, allocations: 176.2 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.7347, allocations: 8.375 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.7348, allocations: 4.375 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.7349, allocations: 42.23 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.7349, allocations: 192 / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.7349, allocations: 7.938 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.7349, allocations: 0 / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.898e-05/0.735, allocations: 15.92 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.7354, allocations: 280.8 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.944e-05/0.7355, allocations: 30.52 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.7355, allocations: 8.922 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-06/0.7355, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.7356, allocations: 63.33 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.7356, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001907/0.7358, allocations: 61.59 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.7359, allocations: 55.41 kB / 1.021 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/0.736, allocations: 105.8 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.736, allocations: 25.7 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.7361, allocations: 88.14 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.7361, allocations: 11.83 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.7362, allocations: 29.7 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.7363, allocations: 314.8 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.623e-05/0.7364, allocations: 27.98 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.701e-05/0.7365, allocations: 50.56 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.7366, allocations: 84.52 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.7366, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002446/0.7368, allocations: 143.2 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.501e-05/0.7369, allocations: 41.69 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7369, allocations: 4.094 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.7369, allocations: 4 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.89e-05/0.737, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.737, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.7372, allocations: 27.95 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.7372, allocations: 8 kB / 1.021 GB, free: 14.39 MB / 0.7794 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 9.143e-05/0.7373, allocations: 118.3 kB / 1.022 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.7373, allocations: 7.844 kB / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.7374, allocations: 7.5 kB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.7374, allocations: 4 kB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.7374, allocations: 0 / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7374, allocations: 3.984 kB / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.7375, allocations: 161.6 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7375, allocations: 3.938 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-06/0.7375, allocations: 240 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.7375, allocations: 4 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.7376, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.7376, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7376, allocations: 4 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.7377, allocations: 88.97 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.7377, allocations: 81.11 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.7377, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.345e-05/0.7378, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.7378, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.7378, allocations: 7.984 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.772e-05/0.7379, allocations: 83.28 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7379, allocations: 4 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002101/0.7381, allocations: 16 kB / 1.022 GB, free: 13.7 MB / 0.7794 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.0001543/0.7382, allocations: 103.2 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.7385, allocations: 123.3 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.7385, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.23e-05/0.7385, allocations: 8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.7387, allocations: 21.05 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.7391, allocations: 161.3 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.7393, allocations: 0.6809 MB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.7394, allocations: 11.44 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.7394, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of Templates: time 0.002412/0.7418, allocations: 0.8592 MB / 1.024 GB, free: 11.68 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches