Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_9_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.007912/0.007912, allocations: 99.31 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.521/2.521, allocations: 390.3 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.95 kB / 0.9504 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2761, allocations: 140.4 MB / 1.087 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002207/0.2783, allocations: 0.8443 MB / 1.088 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.2804, allocations: 1.477 MB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.2806, allocations: 8 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.2807, allocations: 19.73 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.458e-05/0.2808, allocations: 31.72 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.2821, allocations: 0.5141 MB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006122/0.2827, allocations: 499.2 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.2829, allocations: 49.47 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.2832, allocations: 187.6 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.2835, allocations: 175.5 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-05/0.2836, allocations: 40 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.2837, allocations: 55.98 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.2838, allocations: 39.91 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.284, allocations: 163.5 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000527/0.2845, allocations: 405.8 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2845, allocations: 0 / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.916e-06/0.2846, allocations: 3.938 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.892e-05/0.2846, allocations: 3.938 kB / 1.092 GB, free: 13.62 MB / 0.8575 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.0008788/0.2855, allocations: 0.6563 MB / 1.093 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.2855, allocations: 8.031 kB / 1.093 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.005e-05/0.2856, allocations: 46.67 kB / 1.093 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.2857, allocations: 28.75 kB / 1.093 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.2861, allocations: 253.1 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.2861, allocations: 16.38 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.898e-05/0.2862, allocations: 32.38 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.2865, allocations: 155.8 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2865, allocations: 3.938 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.2865, allocations: 7.984 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.2865, allocations: 4 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.2867, allocations: 79.95 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008887/0.2876, allocations: 0.7031 MB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.2878, allocations: 171.7 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.702e-05/0.2879, allocations: 48.89 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.2879, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003042/0.2882, allocations: 164.8 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.654e-06/0.2882, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0004918/0.2887, allocations: 251.2 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.2888, allocations: 55.41 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.2889, allocations: 178.8 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.289, allocations: 41.7 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.2891, allocations: 128.4 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.2892, allocations: 43.53 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.2894, allocations: 109.6 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2895, allocations: 326.8 kB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.2898, allocations: 163.9 kB / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.2902, allocations: 242.8 kB / 1.096 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.2906, allocations: 415 kB / 1.096 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2906, allocations: 0 / 1.096 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009434/0.2916, allocations: 0.6146 MB / 1.097 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.631e-05/0.2917, allocations: 168.8 kB / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.2917, allocations: 8 kB / 1.097 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2917, allocations: 4 kB / 1.097 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.377e-05/0.2918, allocations: 7.984 kB / 1.097 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.2918, allocations: 7.938 kB / 1.097 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007885/0.2926, allocations: 139.7 kB / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/0.2927, allocations: 39.91 kB / 1.097 GB, free: 7.91 MB / 0.8575 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.000158/0.2928, allocations: 153.5 kB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.2929, allocations: 19.75 kB / 1.097 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.2929, allocations: 17.88 kB / 1.097 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2929, allocations: 4 kB / 1.097 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2929, allocations: 0 / 1.097 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2929, allocations: 3.984 kB / 1.097 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/0.2935, allocations: 0.5136 MB / 1.098 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2935, allocations: 0 / 1.098 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-05/0.2935, allocations: 4 kB / 1.098 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.2935, allocations: 4 kB / 1.098 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.2935, allocations: 7.984 kB / 1.098 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2936, allocations: 3.938 kB / 1.098 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2936, allocations: 8 kB / 1.098 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.2938, allocations: 285.4 kB / 1.098 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.2939, allocations: 96.84 kB / 1.098 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.2939, allocations: 4 kB / 1.098 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.294, allocations: 8 kB / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.2941, allocations: 19.97 kB / 1.098 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.2941, allocations: 8 kB / 1.098 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.925e-05/0.2942, allocations: 124.2 kB / 1.098 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2942, allocations: 0 / 1.098 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003687/0.2945, allocations: 75.98 kB / 1.098 GB, free: 6.469 MB / 0.8575 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.0005966/0.2952, allocations: 0.8254 MB / 1.099 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007267/0.2959, allocations: 0.6158 MB / 1.1 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2959, allocations: 0 / 1.1 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.296, allocations: 83.86 kB / 1.1 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.2965, allocations: 48.58 kB / 1.1 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.3002, allocations: 2.999 MB / 1.103 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.3005, allocations: 0.728 MB / 1.103 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.109e-05/0.3006, allocations: 25.55 kB / 1.104 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.511e-05/0.3007, allocations: 59.41 kB / 1.104 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3007, allocations: 0 / 1.104 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.326, allocations: 6.52 MB / 1.11 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.88/8.206, allocations: 4.297 kB / 1.11 GB, free: 10.42 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches