Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.001379/0.001379, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001378/0.001378, allocations: 165 kB / 23.82 MB, free: 0.7461 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 1.004/1.004, allocations: 177.1 MB / 204.2 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.796/1.796, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.443e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001303/0.001327, allocations: 0.7063 MB / 0.7878 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.002756, allocations: 1.32 MB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.002802, allocations: 4.906 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.002833, allocations: 3.938 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.905e-05/0.002912, allocations: 20.72 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.003567, allocations: 301.5 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.003805, allocations: 252.3 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.003901, allocations: 16.17 kB / 0.7897 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.004039, allocations: 140.7 kB / 0.7898 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.004163, allocations: 79.75 kB / 0.7899 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.004204, allocations: 24.66 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.119e-05/0.004275, allocations: 35.92 kB / 0.7899 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/0.004299, allocations: 17.52 kB / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.572e-05/0.004374, allocations: 79.86 kB / 0.79 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.004577, allocations: 191.5 kB / 0.7902 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004579, allocations: 0 / 0.7902 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.132e-06/0.00458, allocations: 3.469 kB / 0.7902 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.004585, allocations: 0 / 0.7902 GB, free: 9.305 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004502/0.005035, allocations: 0.5092 MB / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.005075, allocations: 12.03 kB / 0.7907 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.06e-05/0.005135, allocations: 16.89 kB / 0.7907 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.005235, allocations: 122.5 kB / 0.7909 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.005258, allocations: 12.31 kB / 0.7909 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.005288, allocations: 16.38 kB / 0.7909 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.005388, allocations: 62.92 kB / 0.7909 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.005397, allocations: 4.656 kB / 0.7909 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.00541, allocations: 4.375 kB / 0.7909 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.005418, allocations: 4.719 kB / 0.791 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.063e-05/0.005449, allocations: 17.64 kB / 0.791 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.005854, allocations: 367.6 kB / 0.7913 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.011e-05/0.005904, allocations: 34.98 kB / 0.7914 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.005928, allocations: 19.69 kB / 0.7914 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.005936, allocations: 1.156 kB / 0.7914 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.006038, allocations: 97.03 kB / 0.7915 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.006039, allocations: 0 / 0.7915 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002295/0.006268, allocations: 134.5 kB / 0.7916 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.006301, allocations: 51.41 kB / 0.7916 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.653e-05/0.006398, allocations: 198.3 kB / 0.7918 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.006422, allocations: 33.7 kB / 0.7919 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.006486, allocations: 148 kB / 0.792 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.006502, allocations: 19.84 kB / 0.792 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.585e-05/0.006588, allocations: 76.16 kB / 0.7921 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.006706, allocations: 0.4884 MB / 0.7926 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.006854, allocations: 165 kB / 0.7927 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.007021, allocations: 237.7 kB / 0.793 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.007212, allocations: 240.7 kB / 0.7932 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.007215, allocations: 0 / 0.7932 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004168/0.007631, allocations: 468.3 kB / 0.7936 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.237e-05/0.007684, allocations: 105.1 kB / 0.7937 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.007689, allocations: 0 / 0.7937 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.007705, allocations: 4.719 kB / 0.7937 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.963e-05/0.007724, allocations: 7.938 kB / 0.7937 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.007731, allocations: 5.938 kB / 0.7938 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.007942, allocations: 59.94 kB / 0.7938 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.00797, allocations: 20.61 kB / 0.7938 GB, free: 5.223 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.843e-05/0.008059, allocations: 175.3 kB / 0.794 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.008077, allocations: 17.11 kB / 0.794 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.008102, allocations: 12.42 kB / 0.794 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.008105, allocations: 7.938 kB / 0.794 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.008109, allocations: 0.5625 kB / 0.794 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.008113, allocations: 0 / 0.794 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.745e-05/0.0082, allocations: 141.2 kB / 0.7942 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.008202, allocations: 3.938 kB / 0.7942 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-06/0.008209, allocations: 5.062 kB / 0.7942 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.008211, allocations: 3.938 kB / 0.7942 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.008219, allocations: 1.094 kB / 0.7942 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.00822, allocations: 0 / 0.7942 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.008221, allocations: 4 kB / 0.7942 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.008347, allocations: 145.1 kB / 0.7943 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-06/0.008355, allocations: 7.953 kB / 0.7943 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.008368, allocations: 7.922 kB / 0.7943 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.36e-05/0.008381, allocations: 6.203 kB / 0.7943 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.008416, allocations: 11.98 kB / 0.7944 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.008421, allocations: 4 kB / 0.7944 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.657e-05/0.008468, allocations: 142.4 kB / 0.7945 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008468, allocations: 0 / 0.7945 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001716/0.00864, allocations: 40 kB / 0.7945 GB, free: 4.449 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001081/0.008748, allocations: 110 kB / 0.7946 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003254/0.009073, allocations: 406.8 kB / 0.795 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.009074, allocations: 0 / 0.795 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.176e-05/0.009116, allocations: 41.2 kB / 0.7951 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.009294, allocations: 27.06 kB / 0.7951 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/0.009586, allocations: 199.8 kB / 0.7953 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.498e-05/0.009621, allocations: 63.34 kB / 0.7953 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.18e-05/0.009643, allocations: 5 kB / 0.7953 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.158e-05/0.009664, allocations: 17.03 kB / 0.7954 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.009665, allocations: 5.438 kB / 0.7954 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of Templates: time 0.003876/0.01354, allocations: 2.91 MB / 0.7982 GB, free: 0.6445 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0784832262434065]