Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001345/0.001345, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001595/0.001595, allocations: 173 kB / 23.49 MB, free: 1.062 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.067/1.067, allocations: 177.1 MB / 203.8 MB, free: 5.641 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 2.293/2.293, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.836e-06/2.836e-06, allocations: 0 / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.259e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001842/0.001875, allocations: 0.7063 MB / 0.8789 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.003298, allocations: 1.32 MB / 0.8802 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.118e-05/0.003349, allocations: 0 / 0.8802 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.00338, allocations: 8.438 kB / 0.8802 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.51e-05/0.003465, allocations: 24.5 kB / 0.8802 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.004166, allocations: 289.4 kB / 0.8805 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.004435, allocations: 268.5 kB / 0.8807 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.004541, allocations: 12.12 kB / 0.8808 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.004702, allocations: 144.9 kB / 0.8809 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.004835, allocations: 75.81 kB / 0.881 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/0.00487, allocations: 20 kB / 0.881 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.996e-05/0.00495, allocations: 36.95 kB / 0.881 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.004977, allocations: 19.92 kB / 0.881 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.28e-05/0.00506, allocations: 73.05 kB / 0.8811 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.005299, allocations: 191.5 kB / 0.8813 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.005304, allocations: 0 / 0.8813 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005305, allocations: 0 / 0.8813 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.005311, allocations: 4.781 kB / 0.8813 GB, free: 3.492 MB / 0.8386 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.0005559/0.005867, allocations: 0.513 MB / 0.8818 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.00591, allocations: 9.688 kB / 0.8818 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.606e-05/0.005986, allocations: 16.89 kB / 0.8818 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.267e-05/0.006078, allocations: 120.5 kB / 0.8819 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.006104, allocations: 12.38 kB / 0.8819 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.006132, allocations: 17.94 kB / 0.882 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.006244, allocations: 62.94 kB / 0.882 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.006251, allocations: 192 / 0.882 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.006261, allocations: 4.312 kB / 0.882 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.006271, allocations: 9.281 kB / 0.882 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.193e-05/0.006303, allocations: 15.97 kB / 0.8821 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.006768, allocations: 367.6 kB / 0.8824 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.034e-05/0.006828, allocations: 44.08 kB / 0.8824 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.006854, allocations: 11.69 kB / 0.8825 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.006861, allocations: 0 / 0.8825 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.006995, allocations: 114.5 kB / 0.8826 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.006996, allocations: 0 / 0.8826 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002569/0.007253, allocations: 129.5 kB / 0.8827 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.007289, allocations: 51.41 kB / 0.8827 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.007399, allocations: 192.9 kB / 0.8829 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.007429, allocations: 33.69 kB / 0.883 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.007501, allocations: 150.9 kB / 0.8831 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.00752, allocations: 23.8 kB / 0.8831 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/0.007609, allocations: 71.33 kB / 0.8832 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.007731, allocations: 0.4923 MB / 0.8837 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.007897, allocations: 165 kB / 0.8838 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.008078, allocations: 230.8 kB / 0.884 GB, free: 404 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.008276, allocations: 244.9 kB / 0.8843 GB, free: 116 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.008279, allocations: 0 / 0.8843 GB, free: 116 kB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004714/0.00875, allocations: 468.2 kB / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.924e-05/0.008809, allocations: 97.08 kB / 0.8848 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.008817, allocations: 4 kB / 0.8848 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.008831, allocations: 0 / 0.8848 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.3e-05/0.008854, allocations: 7.938 kB / 0.8848 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.008862, allocations: 4 kB / 0.8848 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.009103, allocations: 59.89 kB / 0.8849 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.00913, allocations: 24.08 kB / 0.8849 GB, free: 15.4 MB / 0.8542 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.0001023/0.009233, allocations: 172.5 kB / 0.8851 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.009254, allocations: 23.88 kB / 0.8851 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.00928, allocations: 12.42 kB / 0.8851 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.009284, allocations: 4 kB / 0.8851 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.009288, allocations: 0 / 0.8851 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.009292, allocations: 0 / 0.8851 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.009396, allocations: 136.6 kB / 0.8852 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.009398, allocations: 3.938 kB / 0.8853 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-06/0.009406, allocations: 4 kB / 0.8853 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.009409, allocations: 7.938 kB / 0.8853 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.009417, allocations: 4 kB / 0.8853 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.009419, allocations: 0 / 0.8853 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.00942, allocations: 0 / 0.8853 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.009571, allocations: 144.3 kB / 0.8854 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.009581, allocations: 7.953 kB / 0.8854 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.009596, allocations: 3.938 kB / 0.8854 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.173e-05/0.009617, allocations: 11.98 kB / 0.8854 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.009653, allocations: 3.984 kB / 0.8854 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.00966, allocations: 4 kB / 0.8854 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004428/0.0101, allocations: 146.4 kB / 0.8856 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0101, allocations: 0 / 0.8856 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001991/0.0103, allocations: 44 kB / 0.8856 GB, free: 14.62 MB / 0.8542 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.0001628/0.01046, allocations: 111.6 kB / 0.8857 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003686/0.01083, allocations: 406.8 kB / 0.8861 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01084, allocations: 0 / 0.8861 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.641e-05/0.01088, allocations: 35.61 kB / 0.8861 GB, free: 14 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.0111, allocations: 30.41 kB / 0.8862 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.01146, allocations: 198.8 kB / 0.8864 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.753e-05/0.01149, allocations: 63.34 kB / 0.8864 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.889e-05/0.01152, allocations: 4.5 kB / 0.8864 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.01155, allocations: 12.5 kB / 0.8864 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.01155, allocations: 4 kB / 0.8864 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of Templates: time 0.004791/0.01634, allocations: 2.936 MB / 0.8893 GB, free: 10.79 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.8087342469953]