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.001012/0.001012, 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.001012/0.001012, 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 0.9333/0.9333, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.822/1.822, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] 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 4.248e-06/4.248e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.844e-05/4.269e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002854/0.002897, allocations: 0.7112 MB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002234/0.005131, allocations: 1.316 MB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.173e-05/0.005193, allocations: 0 / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.005231, allocations: 3.938 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.005339, allocations: 24.31 kB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009952/0.006334, allocations: 297.8 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004487/0.006783, allocations: 256.5 kB / 0.7897 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.006917, allocations: 16.16 kB / 0.7897 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.007189, allocations: 140.5 kB / 0.7898 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.007383, allocations: 83.73 kB / 0.7899 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.007445, allocations: 23.53 kB / 0.7899 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.007551, allocations: 35.94 kB / 0.7899 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.524e-05/0.007586, allocations: 15.97 kB / 0.79 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.007698, allocations: 79.86 kB / 0.79 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.008013, allocations: 183.6 kB / 0.7902 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.008016, allocations: 4 kB / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.91e-07/0.008017, allocations: 0 / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.008024, allocations: 0 / 0.7902 GB, free: 9.262 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.0006628/0.008686, allocations: 0.5131 MB / 0.7907 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.008732, allocations: 12.62 kB / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.625e-05/0.008828, allocations: 16.89 kB / 0.7907 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.00894, allocations: 122.2 kB / 0.7909 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.008973, allocations: 8.359 kB / 0.7909 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.009016, allocations: 20.38 kB / 0.7909 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.009146, allocations: 58.92 kB / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.009155, allocations: 1.531 kB / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.00917, allocations: 8.375 kB / 0.791 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.00918, allocations: 4.125 kB / 0.791 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.039e-05/0.009221, allocations: 11.98 kB / 0.791 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.009821, allocations: 373.1 kB / 0.7913 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.676e-05/0.009898, allocations: 31.06 kB / 0.7914 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.799e-05/0.009936, allocations: 19.77 kB / 0.7914 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.009946, allocations: 4 kB / 0.7914 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.01011, allocations: 105.7 kB / 0.7915 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 2.164e-06/0.01011, allocations: 1.812 kB / 0.7915 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0003468/0.01046, allocations: 129.5 kB / 0.7916 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.01051, allocations: 55.41 kB / 0.7917 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.01066, allocations: 193.2 kB / 0.7918 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.0107, allocations: 33.7 kB / 0.7919 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.01081, allocations: 151.5 kB / 0.792 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.01083, allocations: 19.84 kB / 0.792 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.01096, allocations: 72.02 kB / 0.7921 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.01112, allocations: 0.4923 MB / 0.7926 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.01136, allocations: 165.5 kB / 0.7927 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.01163, allocations: 240 kB / 0.793 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.0119, allocations: 235.6 kB / 0.7932 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.0119, allocations: 0 / 0.7932 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006584/0.01256, allocations: 477.4 kB / 0.7937 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.488e-05/0.01263, allocations: 97.09 kB / 0.7937 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.01264, allocations: 4.906 kB / 0.7938 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.01266, allocations: 3.984 kB / 0.7938 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.665e-05/0.01269, allocations: 9.016 kB / 0.7938 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.0127, allocations: 8.062 kB / 0.7938 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.01302, allocations: 49.7 kB / 0.7938 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.01307, allocations: 27.97 kB / 0.7938 GB, free: 5.172 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 0.0001454/0.01321, allocations: 173.6 kB / 0.794 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.01324, allocations: 15.89 kB / 0.794 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.01328, allocations: 13.28 kB / 0.794 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.01328, allocations: 0 / 0.794 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.01329, allocations: 6.203 kB / 0.794 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.01329, allocations: 0 / 0.794 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.01343, allocations: 140.6 kB / 0.7942 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.01344, allocations: 3.984 kB / 0.7942 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/0.01345, allocations: 0 / 0.7942 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.01345, allocations: 3.938 kB / 0.7942 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.01347, allocations: 6.812 kB / 0.7942 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.01347, allocations: 0 / 0.7942 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01347, allocations: 3.938 kB / 0.7942 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.01369, allocations: 140.4 kB / 0.7943 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.471e-05/0.0137, allocations: 11.89 kB / 0.7943 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.01373, allocations: 7.938 kB / 0.7943 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.103e-05/0.01375, allocations: 0 / 0.7943 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.0138, allocations: 11.98 kB / 0.7944 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.01381, allocations: 17.48 kB / 0.7944 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.712e-05/0.01389, allocations: 135.2 kB / 0.7945 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01389, allocations: 0 / 0.7945 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003258/0.01422, allocations: 44 kB / 0.7945 GB, free: 4.395 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.0001784/0.0144, allocations: 104.4 kB / 0.7946 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005041/0.0149, allocations: 413.5 kB / 0.795 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.0149, allocations: 0 / 0.795 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.575e-05/0.01497, allocations: 36.95 kB / 0.7951 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.01528, allocations: 28.22 kB / 0.7951 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.01576, allocations: 194.7 kB / 0.7953 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.628e-05/0.01581, allocations: 63.34 kB / 0.7953 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.525e-05/0.01586, allocations: 16.33 kB / 0.7954 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.01589, allocations: 16.5 kB / 0.7954 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of SimCode: time 1.102e-06/0.01589, allocations: 0 / 0.7954 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of Templates: time 0.006049/0.02194, allocations: 3.193 MB / 0.7985 GB, free: 328 kB / 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.138061590027064]