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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007994/0.0007994, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007941/0.0007941, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8978/0.8978, allocations: 177.2 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.793/1.793, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.264e-06/2.264e-06, allocations: 0 / 1.001 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.814e-05, allocations: 2.281 kB / 1.001 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001301/0.001329, allocations: 0.6129 MB / 1.002 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0009909/0.00232, allocations: 1.128 MB / 1.003 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.002356, allocations: 0 / 1.003 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.002381, allocations: 0 / 1.003 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 5.316e-05/0.002434, allocations: 4 kB / 1.003 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.002814, allocations: 122.8 kB / 1.003 GB, free: 10 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.00294, allocations: 99.81 kB / 1.003 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 8.002e-05/0.00302, allocations: 7.984 kB / 1.003 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 7.087e-05/0.003091, allocations: 47.97 kB / 1.003 GB, free: 9.848 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 7.163e-05/0.003163, allocations: 27.89 kB / 1.003 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.003181, allocations: 8 kB / 1.003 GB, free: 9.812 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 5.422e-05/0.003236, allocations: 19.92 kB / 1.003 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.003253, allocations: 4 kB / 1.003 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.003291, allocations: 23.98 kB / 1.003 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.003425, allocations: 99.75 kB / 1.003 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.003427, allocations: 4 kB / 1.003 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003428, allocations: 4 kB / 1.003 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.003432, allocations: 0 / 1.003 GB, free: 9.66 MB / 0.9167 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.0003392/0.003771, allocations: 292 kB / 1.003 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.003804, allocations: 12.75 kB / 1.003 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.00384, allocations: 4.938 kB / 1.003 GB, free: 9.32 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.615e-05/0.003907, allocations: 113.7 kB / 1.003 GB, free: 9.184 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.003919, allocations: 4.375 kB / 1.003 GB, free: 9.18 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.003932, allocations: 4.375 kB / 1.003 GB, free: 9.176 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.648e-05/0.004009, allocations: 42.25 kB / 1.004 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.004016, allocations: 192 / 1.004 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.004024, allocations: 384 / 1.004 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.004028, allocations: 4.375 kB / 1.004 GB, free: 9.125 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.217e-05/0.00406, allocations: 15.88 kB / 1.004 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002688/0.004329, allocations: 228.5 kB / 1.004 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 3.735e-05/0.004366, allocations: 18.58 kB / 1.004 GB, free: 8.828 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.205e-05/0.004379, allocations: 8.922 kB / 1.004 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-06/0.004385, allocations: 0 / 1.004 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.965e-05/0.004475, allocations: 67.27 kB / 1.004 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.004475, allocations: 0 / 1.004 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0001531/0.004629, allocations: 57.69 kB / 1.004 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.004658, allocations: 55.41 kB / 1.004 GB, free: 8.609 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.582e-05/0.004714, allocations: 105.8 kB / 1.004 GB, free: 8.496 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.00473, allocations: 29.7 kB / 1.004 GB, free: 8.461 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.004766, allocations: 95.97 kB / 1.004 GB, free: 8.363 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-06/0.004774, allocations: 4 kB / 1.004 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.004815, allocations: 33.69 kB / 1.004 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.004888, allocations: 318.8 kB / 1.005 GB, free: 8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/0.004951, allocations: 57.69 kB / 1.005 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/0.005013, allocations: 80.25 kB / 1.005 GB, free: 7.844 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.031e-05/0.005083, allocations: 80.27 kB / 1.005 GB, free: 7.75 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.005085, allocations: 4 kB / 1.005 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001627/0.005248, allocations: 177 kB / 1.005 GB, free: 7.555 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.005276, allocations: 45.62 kB / 1.005 GB, free: 7.504 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.005281, allocations: 7.922 kB / 1.005 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.005292, allocations: 240 / 1.005 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.246e-05/0.005304, allocations: 0 / 1.005 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.005309, allocations: 4 kB / 1.005 GB, free: 7.492 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.005425, allocations: 23.97 kB / 1.005 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.005437, allocations: 8.094 kB / 1.005 GB, free: 7.461 MB / 0.9167 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.237e-05/0.005499, allocations: 117.8 kB / 1.005 GB, free: 7.336 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.005508, allocations: 11.92 kB / 1.005 GB, free: 7.324 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.663e-05/0.005525, allocations: 3.688 kB / 1.005 GB, free: 7.312 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.005526, allocations: 0 / 1.005 GB, free: 7.312 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.00553, allocations: 0 / 1.005 GB, free: 7.312 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.005533, allocations: 0 / 1.005 GB, free: 7.312 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.106e-05/0.005594, allocations: 109.3 kB / 1.005 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.12e-07/0.005595, allocations: 4 kB / 1.005 GB, free: 7.172 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.364e-06/0.005597, allocations: 0 / 1.005 GB, free: 7.172 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.005598, allocations: 4 kB / 1.005 GB, free: 7.168 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.005604, allocations: 4.25 kB / 1.005 GB, free: 7.164 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005605, allocations: 0 / 1.005 GB, free: 7.164 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.005606, allocations: 4 kB / 1.005 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.487e-05/0.005671, allocations: 89 kB / 1.005 GB, free: 7.055 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-06/0.005676, allocations: 0 / 1.005 GB, free: 7.055 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.005687, allocations: 7.938 kB / 1.005 GB, free: 7.047 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-06/0.005694, allocations: 0 / 1.005 GB, free: 7.047 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.005714, allocations: 0 / 1.005 GB, free: 7.047 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.005719, allocations: 7.984 kB / 1.005 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.873e-05/0.005748, allocations: 83.28 kB / 1.005 GB, free: 6.957 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.005748, allocations: 7.938 kB / 1.005 GB, free: 6.949 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001402/0.005888, allocations: 15.94 kB / 1.005 GB, free: 6.934 MB / 0.9167 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 9.27e-05/0.005981, allocations: 99.23 kB / 1.006 GB, free: 6.828 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.006134, allocations: 141 kB / 1.006 GB, free: 6.672 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.006135, allocations: 0 / 1.006 GB, free: 6.672 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.006154, allocations: 8 kB / 1.006 GB, free: 6.664 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.006296, allocations: 17.95 kB / 1.006 GB, free: 6.648 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002168/0.006513, allocations: 150.7 kB / 1.006 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.801e-05/0.006551, allocations: 71.19 kB / 1.006 GB, free: 6.379 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.276e-05/0.006564, allocations: 8.5 kB / 1.006 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of SimCode: time 4.41e-07/0.006564, allocations: 0 / 1.006 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of Templates: time 0.001545/0.008109, allocations: 0.8722 MB / 1.007 GB, free: 5.504 MB / 0.9167 GB " [Timeout remaining time 300] 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/jenkins/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: 6.395356924273074]