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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 195.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.647/2.647, allocations: 469.8 MB / 0.7424 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 68.67 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2634, allocations: 159.2 MB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002105/0.2655, allocations: 0.831 MB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.2674, allocations: 1.48 MB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.485e-05/0.2675, allocations: 0 / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.2676, allocations: 15.81 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.122e-05/0.2677, allocations: 31.72 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.2689, allocations: 0.5177 MB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005649/0.2695, allocations: 0.4914 MB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.2696, allocations: 37.48 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.2698, allocations: 183.7 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.27, allocations: 143.6 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.459e-05/0.2701, allocations: 40 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.2702, allocations: 55.98 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.2703, allocations: 39.91 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.2705, allocations: 163.5 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004278/0.2709, allocations: 411.1 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2709, allocations: 4 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.271, allocations: 3.938 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.271, allocations: 0 / 1.068 GB, free: 9.836 MB / 0.8262 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.0007921/0.2718, allocations: 0.6515 MB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2718, allocations: 8.031 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.2719, allocations: 46.73 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.409e-05/0.272, allocations: 32.73 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.2723, allocations: 256.7 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.2723, allocations: 20.38 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-05/0.2724, allocations: 32.38 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.2726, allocations: 147.9 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2726, allocations: 7.938 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.2727, allocations: 11.97 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2727, allocations: 4 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.2728, allocations: 83.89 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000863/0.2737, allocations: 0.707 MB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.2739, allocations: 171.7 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.408e-05/0.274, allocations: 44.84 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.274, allocations: 4 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.2743, allocations: 153.2 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.222e-06/0.2743, allocations: 0 / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0004419/0.2747, allocations: 245.3 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.2748, allocations: 63.34 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.2749, allocations: 179.3 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.275, allocations: 41.69 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.2751, allocations: 132.4 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.2752, allocations: 35.55 kB / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.2754, allocations: 117.5 kB / 1.071 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2755, allocations: 326.8 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.2758, allocations: 163.8 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.2762, allocations: 239.5 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.2767, allocations: 416.5 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2767, allocations: 0 / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009517/0.2776, allocations: 0.6123 MB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.2778, allocations: 168.4 kB / 1.073 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2778, allocations: 4 kB / 1.073 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.2778, allocations: 4.344 kB / 1.073 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.955e-05/0.2778, allocations: 11.94 kB / 1.073 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2778, allocations: 7.984 kB / 1.073 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008294/0.2787, allocations: 139.7 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.572e-05/0.2788, allocations: 35.97 kB / 1.074 GB, free: 4.125 MB / 0.8262 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.0001625/0.279, allocations: 153.7 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.279, allocations: 23.73 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.279, allocations: 21.88 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.2791, allocations: 0 / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2791, allocations: 4 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2791, allocations: 4 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/0.2796, allocations: 0.5117 MB / 1.074 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2796, allocations: 0 / 1.074 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.951e-05/0.2797, allocations: 8 kB / 1.074 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2797, allocations: 0 / 1.074 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2797, allocations: 0 / 1.074 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2797, allocations: 4 kB / 1.074 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2797, allocations: 0 / 1.074 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.28, allocations: 292.7 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.28, allocations: 92.86 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.2801, allocations: 7.984 kB / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.221e-05/0.2801, allocations: 4 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.2802, allocations: 15.98 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.2802, allocations: 11.98 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.424e-05/0.2803, allocations: 119.2 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2803, allocations: 0 / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003399/0.2807, allocations: 80 kB / 1.075 GB, free: 2.688 MB / 0.8262 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.0006328/0.2813, allocations: 0.8365 MB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007696/0.2821, allocations: 0.6359 MB / 1.076 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2821, allocations: 0 / 1.076 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.2822, allocations: 71.92 kB / 1.076 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.2826, allocations: 49.3 kB / 1.076 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.2862, allocations: 2.981 MB / 1.079 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.2865, allocations: 0.7242 MB / 1.08 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.135e-05/0.2866, allocations: 29.53 kB / 1.08 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.2867, allocations: 51.42 kB / 1.08 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of SimCode: time 1.954e-06/0.2867, allocations: 0 / 1.08 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.138/1.425, allocations: 6.326 MB / 1.086 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/15.33, allocations: 8.688 kB / 1.086 GB, free: 6.824 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches