Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001441/0.001441, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001575/0.001575, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.516/1.516, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.89/2.89, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0.5469 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.175e-05/3.444e-05, allocations: 3.844 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002347/0.002382, allocations: 0.8138 MB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002703/0.005084, allocations: 1.496 MB / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.005202, allocations: 9.562 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.005373, allocations: 23.73 kB / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.005479, allocations: 35.77 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.006912, allocations: 0.5062 MB / 0.7892 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007825/0.007695, allocations: 480.3 kB / 0.7897 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.007846, allocations: 25.66 kB / 0.7897 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005088/0.008355, allocations: 260.3 kB / 0.7899 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.008682, allocations: 144.3 kB / 0.7901 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.008797, allocations: 40 kB / 0.7901 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.008945, allocations: 56.83 kB / 0.7902 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.962e-05/0.009025, allocations: 39.89 kB / 0.7902 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.009265, allocations: 139.8 kB / 0.7903 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007158/0.009981, allocations: 491.4 kB / 0.7908 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.009985, allocations: 1.656 kB / 0.7908 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.513e-06/0.009987, allocations: 0 / 0.7908 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.009998, allocations: 0 / 0.7908 GB, free: 8.258 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001087/0.01109, allocations: 0.5722 MB / 0.7914 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.01113, allocations: 12.03 kB / 0.7914 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.01129, allocations: 38.44 kB / 0.7914 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.01168, allocations: 201.4 kB / 0.7916 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.01171, allocations: 20.31 kB / 0.7916 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.018e-05/0.01179, allocations: 36.36 kB / 0.7917 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.01211, allocations: 153.4 kB / 0.7918 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.01212, allocations: 192 / 0.7918 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.01214, allocations: 4.375 kB / 0.7918 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.01215, allocations: 4.375 kB / 0.7918 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.01233, allocations: 87.83 kB / 0.7919 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.01334, allocations: 0.5663 MB / 0.7925 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.01355, allocations: 86.55 kB / 0.7925 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.938e-05/0.01364, allocations: 45.48 kB / 0.7926 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.01365, allocations: 0 / 0.7926 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003652/0.01402, allocations: 162.6 kB / 0.7927 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.01402, allocations: 0 / 0.7927 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0005668/0.01459, allocations: 251.4 kB / 0.793 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.01464, allocations: 59.88 kB / 0.793 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.01486, allocations: 183.4 kB / 0.7932 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.513e-05/0.01493, allocations: 42.92 kB / 0.7933 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.01509, allocations: 120.7 kB / 0.7934 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.01514, allocations: 51.62 kB / 0.7934 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.01539, allocations: 118.6 kB / 0.7935 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.01559, allocations: 326.8 kB / 0.7938 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.01609, allocations: 312.4 kB / 0.7941 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/0.01665, allocations: 388.5 kB / 0.7945 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006225/0.01727, allocations: 412 kB / 0.7949 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.01728, allocations: 4.625 kB / 0.7949 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00137/0.01865, allocations: 0.7997 MB / 0.7957 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.01881, allocations: 164.5 kB / 0.7958 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.01882, allocations: 0 / 0.7958 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.01884, allocations: 4.781 kB / 0.7959 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.638e-05/0.01889, allocations: 15.94 kB / 0.7959 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.0189, allocations: 5.812 kB / 0.7959 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008106/0.01971, allocations: 157.6 kB / 0.796 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.937e-05/0.01978, allocations: 25.02 kB / 0.796 GB, free: 2.457 MB / 0.7448 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.0002322/0.02002, allocations: 158.7 kB / 0.7962 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.02006, allocations: 27.83 kB / 0.7962 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.02011, allocations: 22.66 kB / 0.7962 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.02011, allocations: 4 kB / 0.7962 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.02012, allocations: 2.219 kB / 0.7963 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.02013, allocations: 7.922 kB / 0.7963 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006308/0.02076, allocations: 430 kB / 0.7967 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02076, allocations: 0 / 0.7967 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.02079, allocations: 11.92 kB / 0.7967 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.02079, allocations: 0 / 0.7967 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.0208, allocations: 6.812 kB / 0.7967 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.066e-06/0.02081, allocations: 3.938 kB / 0.7967 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.02081, allocations: 0 / 0.7967 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.02119, allocations: 292.9 kB / 0.797 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.02122, allocations: 15.86 kB / 0.797 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.02124, allocations: 3.984 kB / 0.797 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.02132, allocations: 11.94 kB / 0.797 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/0.02139, allocations: 23.95 kB / 0.797 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.02141, allocations: 5.562 kB / 0.797 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001129/0.02152, allocations: 128.2 kB / 0.7972 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02152, allocations: 3.938 kB / 0.7972 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004269/0.02195, allocations: 83.92 kB / 0.7972 GB, free: 1.188 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: 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.0001944/0.02214, allocations: 110.5 kB / 0.7973 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009973/0.02314, allocations: 0.6985 MB / 0.798 GB, free: 292 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02314, allocations: 1.406 kB / 0.798 GB, free: 292 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.02327, allocations: 63.91 kB / 0.7981 GB, free: 228 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.02373, allocations: 51.91 kB / 0.7981 GB, free: 180 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007249/0.02445, allocations: 330.6 kB / 0.7984 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.02459, allocations: 121.3 kB / 0.7986 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.0247, allocations: 25.47 kB / 0.7986 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.02474, allocations: 20.5 kB / 0.7986 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of SimCode: time 3.41e-07/0.02474, allocations: 0 / 0.7986 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of Templates: time 0.01118/0.03592, allocations: 5.076 MB / 0.8036 GB, free: 10.7 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.054142048000358]