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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001515/0.001515, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.466/1.466, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.899/2.899, allocations: 437 MB / 0.7103 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.91 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7457/0.7471, allocations: 151.6 MB / 1.017 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002631/0.7498, allocations: 0.6171 MB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.7516, allocations: 1.109 MB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.156e-05/0.7516, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.7517, allocations: 3.938 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.96e-05/0.7518, allocations: 11.88 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.7523, allocations: 124.8 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.7525, allocations: 83.89 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.7526, allocations: 11.98 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.767e-05/0.7527, allocations: 39.91 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.381e-05/0.7528, allocations: 27.91 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.7529, allocations: 8 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.922e-05/0.7529, allocations: 19.98 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.753, allocations: 0 / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.098e-05/0.753, allocations: 35.89 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.7532, allocations: 83.8 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7532, allocations: 0 / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7532, allocations: 0 / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.7532, allocations: 0 / 1.019 GB, free: 384 kB / 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.0004986/0.7537, allocations: 379.1 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.7538, allocations: 12.02 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.709e-05/0.7539, allocations: 12.88 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.754, allocations: 168.2 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.754, allocations: 4.375 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.754, allocations: 4.375 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.851e-05/0.7541, allocations: 42.25 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.7542, allocations: 4.188 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.7542, allocations: 3.938 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.7542, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.282e-05/0.7542, allocations: 11.98 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.7547, allocations: 288.8 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.898e-05/0.7547, allocations: 22.52 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.775e-05/0.7547, allocations: 8.922 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.7548, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.755, allocations: 67.38 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.755, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002163/0.7552, allocations: 65.53 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.7552, allocations: 55.39 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.625e-05/0.7553, allocations: 101.9 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.7554, allocations: 25.7 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.7554, allocations: 92.12 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.7555, allocations: 3.906 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.939e-05/0.7555, allocations: 33.7 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.7556, allocations: 314.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.582e-05/0.7557, allocations: 27.98 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.7558, allocations: 50.55 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.7559, allocations: 88.16 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.756, allocations: 7.875 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002548/0.7562, allocations: 139.3 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/0.7563, allocations: 37.7 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.7563, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.7563, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.005e-05/0.7563, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.7563, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.7566, allocations: 32.05 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.7566, allocations: 11.94 kB / 1.021 GB, free: 14.03 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.759e-05/0.7567, allocations: 117.8 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.7567, allocations: 3.906 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.7568, allocations: 7.484 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.7568, allocations: 4 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7568, allocations: 320 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7568, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.7569, allocations: 161.6 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.757, allocations: 4 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.156e-06/0.757, allocations: 4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.757, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.757, allocations: 4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.757, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.757, allocations: 3.984 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.7571, allocations: 77 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.7572, allocations: 85.11 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.7572, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.373e-05/0.7572, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.7573, allocations: 3.984 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.7573, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.125e-05/0.7573, allocations: 79.28 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7573, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002225/0.7576, allocations: 16 kB / 1.022 GB, free: 13.36 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.0001901/0.7578, allocations: 107.5 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.758, allocations: 127.3 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.758, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.539e-05/0.758, allocations: 11.98 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.7583, allocations: 19.86 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.7586, allocations: 130 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.7589, allocations: 0.6808 MB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.207e-05/0.7589, allocations: 4 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/0.7589, allocations: 7.438 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.7589, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of Templates: time 0.003797/0.7627, allocations: 1.034 MB / 1.024 GB, free: 11.19 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/jenkins/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