Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001723/0.001723, allocations: 80.52 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00217/0.00217, allocations: 170.6 kB / 22.46 MB, free: 5.355 MB / 14.72 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.521/1.521, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.954/2.954, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.3e-05/3.583e-05, allocations: 6.281 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002072/0.002108, allocations: 0.7957 MB / 0.9822 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002385/0.004493, allocations: 1.509 MB / 0.9837 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.516e-05/0.004578, allocations: 0 / 0.9837 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.004735, allocations: 19.73 kB / 0.9837 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.004835, allocations: 39.7 kB / 0.9838 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.006355, allocations: 0.5223 MB / 0.9843 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006348/0.00699, allocations: 483.1 kB / 0.9847 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.007144, allocations: 29.66 kB / 0.9848 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003158/0.007459, allocations: 259.7 kB / 0.985 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/0.007721, allocations: 147.6 kB / 0.9851 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.803e-05/0.007809, allocations: 44 kB / 0.9852 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.007936, allocations: 47.98 kB / 0.9852 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.004e-05/0.008006, allocations: 43.89 kB / 0.9853 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.008223, allocations: 139.8 kB / 0.9854 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006614/0.008885, allocations: 482.8 kB / 0.9859 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.008897, allocations: 7.984 kB / 0.9859 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.024e-06/0.008899, allocations: 0 / 0.9859 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.008908, allocations: 0 / 0.9859 GB, free: 7.402 MB / 0.9356 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.0009902/0.009898, allocations: 0.5721 MB / 0.9864 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.009942, allocations: 12.03 kB / 0.9864 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.01006, allocations: 32.84 kB / 0.9865 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.01045, allocations: 209.4 kB / 0.9867 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.01048, allocations: 20.38 kB / 0.9867 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.476e-05/0.01055, allocations: 32.36 kB / 0.9867 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.01086, allocations: 157.9 kB / 0.9869 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.01087, allocations: 4.188 kB / 0.9869 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.01089, allocations: 4.375 kB / 0.9869 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.0109, allocations: 4.375 kB / 0.9869 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.01105, allocations: 79.89 kB / 0.987 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008632/0.01191, allocations: 0.5626 MB / 0.9875 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.01211, allocations: 94.47 kB / 0.9876 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.427e-05/0.01219, allocations: 36.84 kB / 0.9876 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.0122, allocations: 0 / 0.9876 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.01245, allocations: 163.3 kB / 0.9878 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.01246, allocations: 0 / 0.9878 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0004978/0.01295, allocations: 240.2 kB / 0.988 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.01301, allocations: 55.41 kB / 0.9881 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.01318, allocations: 192 kB / 0.9883 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.558e-05/0.01326, allocations: 45.64 kB / 0.9883 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.01338, allocations: 120.7 kB / 0.9884 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.01343, allocations: 55.56 kB / 0.9885 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.01366, allocations: 113.6 kB / 0.9886 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.01382, allocations: 330.8 kB / 0.9889 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004513/0.01427, allocations: 308.4 kB / 0.9892 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/0.0148, allocations: 390.6 kB / 0.9896 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.01535, allocations: 409.2 kB / 0.99 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01535, allocations: 0 / 0.99 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001266/0.01662, allocations: 0.7754 MB / 0.9907 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/0.01677, allocations: 170.7 kB / 0.9909 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.01678, allocations: 0 / 0.9909 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.0168, allocations: 4 kB / 0.9909 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.632e-05/0.01683, allocations: 8 kB / 0.9909 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.01685, allocations: 11.92 kB / 0.9909 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008282/0.01768, allocations: 151.9 kB / 0.991 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.728e-05/0.01775, allocations: 27.98 kB / 0.9911 GB, free: 1.617 MB / 0.9356 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.000206/0.01795, allocations: 161.5 kB / 0.9912 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.01798, allocations: 19.89 kB / 0.9912 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.01802, allocations: 13.81 kB / 0.9913 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.01803, allocations: 4 kB / 0.9913 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.01803, allocations: 0 / 0.9913 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.01804, allocations: 3.938 kB / 0.9913 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005888/0.01863, allocations: 434 kB / 0.9917 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.01863, allocations: 4 kB / 0.9917 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.171e-05/0.01866, allocations: 7.938 kB / 0.9917 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.01866, allocations: 7.984 kB / 0.9917 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.01868, allocations: 12.05 kB / 0.9917 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.01868, allocations: 7.938 kB / 0.9917 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01869, allocations: 0 / 0.9917 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.01902, allocations: 281.8 kB / 0.992 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.01904, allocations: 11.91 kB / 0.992 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.01906, allocations: 0 / 0.992 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.01914, allocations: 15.88 kB / 0.992 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.0192, allocations: 23.92 kB / 0.992 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.01922, allocations: 15.92 kB / 0.992 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001026/0.01932, allocations: 123.5 kB / 0.9922 GB, free: 444 kB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01932, allocations: 0 / 0.9922 GB, free: 444 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003712/0.01969, allocations: 79.94 kB / 0.9922 GB, free: 364 kB / 0.9356 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.0001888/0.01988, allocations: 108.1 kB / 0.9923 GB, free: 244 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009129/0.02079, allocations: 0.6965 MB / 0.993 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.0208, allocations: 0 / 0.993 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.02092, allocations: 76.52 kB / 0.9931 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.02135, allocations: 43.95 kB / 0.9931 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.02195, allocations: 330.7 kB / 0.9935 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.02209, allocations: 124.2 kB / 0.9936 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.261e-05/0.02215, allocations: 21.48 kB / 0.9936 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.02221, allocations: 16.5 kB / 0.9936 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.02221, allocations: 0 / 0.9936 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of Templates: time 0.009712/0.03192, allocations: 5.064 MB / 0.9986 GB, free: 9.863 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.489454917609692]