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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 107 kB / 17.08 MB, free: 5.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002664/0.002664, allocations: 196.2 kB / 20.03 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.12/3.12, allocations: 490 MB / 0.7695 GB, free: 3.125 MB / 0.6075 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 68.12 kB / 1.104 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.09, allocations: 164 MB / 1.264 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001764/1.092, allocations: 0.6069 MB / 1.264 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001409/1.094, allocations: 1.104 MB / 1.266 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/1.094, allocations: 4.656 kB / 1.266 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/1.094, allocations: 4.594 kB / 1.266 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.873e-05/1.094, allocations: 9.266 kB / 1.266 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/1.094, allocations: 129.3 kB / 1.266 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001642/1.094, allocations: 85.52 kB / 1.266 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/1.095, allocations: 12.8 kB / 1.266 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.012e-05/1.095, allocations: 33.31 kB / 1.266 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/1.095, allocations: 31.52 kB / 1.266 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/1.095, allocations: 7.531 kB / 1.266 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.822e-05/1.095, allocations: 21.66 kB / 1.266 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/1.095, allocations: 7.188 kB / 1.266 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.089e-05/1.095, allocations: 26.06 kB / 1.266 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/1.095, allocations: 85.72 kB / 1.266 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.095, allocations: 0.7812 kB / 1.266 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/1.095, allocations: 3.938 kB / 1.266 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.37e-06/1.095, allocations: 0.8438 kB / 1.266 GB, free: 5.98 MB / 0.9981 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.0004248/1.096, allocations: 374.1 kB / 1.266 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/1.096, allocations: 10.09 kB / 1.266 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/1.096, allocations: 5.469 kB / 1.266 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.497e-05/1.096, allocations: 170.7 kB / 1.267 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/1.096, allocations: 3.281 kB / 1.267 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/1.096, allocations: 5.859 kB / 1.267 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.587e-05/1.096, allocations: 43.05 kB / 1.267 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/1.096, allocations: 192 / 1.267 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/1.096, allocations: 5.5 kB / 1.267 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/1.096, allocations: 4 kB / 1.267 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.284e-05/1.096, allocations: 5.766 kB / 1.267 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/1.096, allocations: 297.6 kB / 1.267 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.262e-05/1.096, allocations: 25.8 kB / 1.267 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/1.096, allocations: 7.781 kB / 1.267 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-06/1.096, allocations: 0.9688 kB / 1.267 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/1.097, allocations: 64.75 kB / 1.267 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/1.097, allocations: 0 / 1.267 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.000181/1.097, allocations: 61.42 kB / 1.267 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/1.097, allocations: 52.81 kB / 1.267 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/1.097, allocations: 102.7 kB / 1.267 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/1.097, allocations: 28.05 kB / 1.267 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/1.097, allocations: 87.44 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/1.097, allocations: 18.23 kB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/1.097, allocations: 30.31 kB / 1.267 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.394e-05/1.097, allocations: 316.2 kB / 1.268 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.575e-05/1.097, allocations: 28.14 kB / 1.268 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.158e-05/1.097, allocations: 52.91 kB / 1.268 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/1.097, allocations: 91.48 kB / 1.268 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.097, allocations: 0.75 kB / 1.268 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002389/1.098, allocations: 138.5 kB / 1.268 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/1.098, allocations: 40.81 kB / 1.268 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.098, allocations: 0.75 kB / 1.268 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/1.098, allocations: 0.8125 kB / 1.268 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.778e-05/1.098, allocations: 2.016 kB / 1.268 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.098, allocations: 6.141 kB / 1.268 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/1.098, allocations: 27.73 kB / 1.268 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/1.098, allocations: 6.703 kB / 1.268 GB, free: 4.016 MB / 0.9981 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 6.495e-05/1.098, allocations: 122.9 kB / 1.268 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/1.098, allocations: 5.094 kB / 1.268 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/1.098, allocations: 5.297 kB / 1.268 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/1.098, allocations: 8.797 kB / 1.268 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.098, allocations: 1.5 kB / 1.268 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/1.098, allocations: 0 / 1.268 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.417e-05/1.098, allocations: 161.3 kB / 1.268 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.098, allocations: 4 kB / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-06/1.098, allocations: 1.297 kB / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.098, allocations: 1.625 kB / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/1.098, allocations: 0.875 kB / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.098, allocations: 0.5156 kB / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.098, allocations: 0.9688 kB / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.453e-05/1.098, allocations: 83.83 kB / 1.268 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/1.098, allocations: 78.62 kB / 1.268 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/1.098, allocations: 6.078 kB / 1.268 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.45e-05/1.098, allocations: 4.562 kB / 1.268 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/1.098, allocations: 2.547 kB / 1.268 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/1.098, allocations: 1.719 kB / 1.268 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.394e-05/1.098, allocations: 80.78 kB / 1.269 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.098, allocations: 0 / 1.269 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002208/1.099, allocations: 18.52 kB / 1.269 GB, free: 3.414 MB / 0.9981 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.0001346/1.099, allocations: 104.8 kB / 1.269 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002194/1.099, allocations: 123 kB / 1.269 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.099, allocations: 0 / 1.269 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.765e-05/1.099, allocations: 13.86 kB / 1.269 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/1.099, allocations: 18.58 kB / 1.269 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/1.1, allocations: 154 kB / 1.269 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/1.1, allocations: 0.6786 MB / 1.27 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/1.1, allocations: 13.8 kB / 1.27 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/1.1, allocations: 0 / 1.27 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of Templates: time 0.002788/1.102, allocations: 0.865 MB / 1.27 GB, free: 2.289 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.6563636000501]