Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.002383/0.002383, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.00274/0.00274, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.589/1.589, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.371/3.371, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] 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.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.106e-06/3.106e-06, allocations: 3.938 kB / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.043e-05/4.353e-05, allocations: 3.297 kB / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00227/0.002313, allocations: 0.825 MB / 0.8783 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002413/0.004726, allocations: 1.502 MB / 0.8797 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.811e-05/0.004804, allocations: 7.594 kB / 0.8797 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.004956, allocations: 23.95 kB / 0.8798 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.522e-05/0.005041, allocations: 31.77 kB / 0.8798 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.006334, allocations: 0.5085 MB / 0.8803 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006608/0.006995, allocations: 476.2 kB / 0.8807 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.007151, allocations: 33.66 kB / 0.8808 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003426/0.007494, allocations: 255.7 kB / 0.881 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.007778, allocations: 148.7 kB / 0.8812 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.007878, allocations: 40 kB / 0.8812 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.008029, allocations: 55.98 kB / 0.8813 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.545e-05/0.008104, allocations: 40.89 kB / 0.8813 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.008317, allocations: 135.8 kB / 0.8814 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006776/0.008995, allocations: 495.3 kB / 0.8819 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.008999, allocations: 0 / 0.8819 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.834e-06/0.009001, allocations: 4.562 kB / 0.8819 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.009008, allocations: 0 / 0.8819 GB, free: 2.098 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001292/0.0103, allocations: 0.6843 MB / 0.8826 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.01034, allocations: 12.03 kB / 0.8826 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.01047, allocations: 37.59 kB / 0.8826 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.01088, allocations: 205 kB / 0.8828 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.01091, allocations: 21.59 kB / 0.8828 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-05/0.01099, allocations: 36.36 kB / 0.8829 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.01125, allocations: 126.6 kB / 0.883 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.01126, allocations: 192 / 0.883 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.01128, allocations: 13.17 kB / 0.883 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.01129, allocations: 4.375 kB / 0.883 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.01141, allocations: 52.44 kB / 0.8831 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.01244, allocations: 0.6632 MB / 0.8837 GB, free: 112 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.01264, allocations: 87.69 kB / 0.8838 GB, free: 12 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.01274, allocations: 40.48 kB / 0.8838 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.01275, allocations: 0 / 0.8838 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002921/0.01305, allocations: 173.9 kB / 0.884 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.172e-06/0.01305, allocations: 0 / 0.884 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0005465/0.01359, allocations: 243.7 kB / 0.8842 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.01366, allocations: 55.41 kB / 0.8843 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.01395, allocations: 279.2 kB / 0.8845 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.353e-05/0.01401, allocations: 41.69 kB / 0.8846 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.01418, allocations: 179.4 kB / 0.8848 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.01423, allocations: 39.7 kB / 0.8848 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.01447, allocations: 135.2 kB / 0.8849 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002959/0.01476, allocations: 0.504 MB / 0.8854 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/0.01528, allocations: 344.4 kB / 0.8857 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006402/0.01592, allocations: 466.1 kB / 0.8862 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006109/0.01653, allocations: 463.4 kB / 0.8866 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01653, allocations: 0 / 0.8866 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00139/0.01792, allocations: 0.8536 MB / 0.8875 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.01808, allocations: 160.8 kB / 0.8876 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.01808, allocations: 4 kB / 0.8876 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.01811, allocations: 4 kB / 0.8876 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.264e-05/0.01815, allocations: 12 kB / 0.8876 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.01816, allocations: 11.98 kB / 0.8876 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006508/0.01882, allocations: 107.7 kB / 0.8877 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.569e-05/0.01889, allocations: 39.97 kB / 0.8878 GB, free: 11.55 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0002315/0.01912, allocations: 188.5 kB / 0.888 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.01917, allocations: 27.89 kB / 0.888 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.389e-05/0.01922, allocations: 17.81 kB / 0.888 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.01923, allocations: 4 kB / 0.888 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.01924, allocations: 0 / 0.888 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.01924, allocations: 3.938 kB / 0.888 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007019/0.01995, allocations: 0.4894 MB / 0.8885 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.01995, allocations: 7.984 kB / 0.8885 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.01998, allocations: 11.94 kB / 0.8885 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01998, allocations: 0 / 0.8885 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.01999, allocations: 4 kB / 0.8885 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.02, allocations: 3.938 kB / 0.8885 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02, allocations: 0 / 0.8885 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006739/0.02067, allocations: 345.4 kB / 0.8888 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.0207, allocations: 11.91 kB / 0.8889 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.02073, allocations: 7.984 kB / 0.8889 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.02079, allocations: 7.938 kB / 0.8889 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.02086, allocations: 19.97 kB / 0.8889 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.02088, allocations: 12 kB / 0.8889 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001336/0.02101, allocations: 167.1 kB / 0.8891 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02101, allocations: 0 / 0.8891 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003842/0.02139, allocations: 87.88 kB / 0.8891 GB, free: 10.08 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002233/0.02162, allocations: 108.4 kB / 0.8893 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.02275, allocations: 0.8277 MB / 0.8901 GB, free: 9.043 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02276, allocations: 0 / 0.8901 GB, free: 9.043 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.02289, allocations: 75.59 kB / 0.8901 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.02334, allocations: 51.94 kB / 0.8902 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007265/0.02407, allocations: 335.2 kB / 0.8905 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.02421, allocations: 116.3 kB / 0.8906 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.406e-05/0.02428, allocations: 21.48 kB / 0.8906 GB, free: 8.402 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.02433, allocations: 20.5 kB / 0.8907 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.02433, allocations: 3.938 kB / 0.8907 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of Templates: time 0.01124/0.03557, allocations: 5.075 MB / 0.8956 GB, free: 3.426 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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: 8.657390952925198]