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.01233/0.01233, allocations: 103.6 kB / 15.73 MB, free: 6.039 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.0025/0.0025, allocations: 193.1 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.603/2.603, allocations: 222.9 MB / 240.4 MB, free: 4.316 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 3.878/3.878, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002462, allocations: 64 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3827, allocations: 140.4 MB / 1.088 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.003052/0.3858, allocations: 0.8367 MB / 1.088 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002215/0.3881, allocations: 1.485 MB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.979e-05/0.3882, allocations: 0 / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.3883, allocations: 15.8 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.491e-05/0.3884, allocations: 39.7 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.3898, allocations: 0.5161 MB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007725/0.3906, allocations: 499.3 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.3909, allocations: 41.48 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.3911, allocations: 195.6 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003417/0.3915, allocations: 167.5 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.443e-05/0.3916, allocations: 40 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.3917, allocations: 63.97 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.861e-05/0.3918, allocations: 35.91 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.3921, allocations: 159.5 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006759/0.3928, allocations: 417.7 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.3928, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.324e-06/0.3928, allocations: 3.938 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.3928, allocations: 0 / 1.092 GB, free: 13.5 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.001306/0.3942, allocations: 0.6437 MB / 1.093 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.552e-05/0.3942, allocations: 12.03 kB / 1.093 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.562e-05/0.3943, allocations: 46.73 kB / 1.093 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.3945, allocations: 32.73 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005802/0.3951, allocations: 265 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.3951, allocations: 16.38 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.727e-05/0.3952, allocations: 28.38 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.3956, allocations: 147.9 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.3956, allocations: 3.938 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.3957, allocations: 7.984 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.3957, allocations: 0 / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.3959, allocations: 95.81 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.3972, allocations: 0.7071 MB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.3975, allocations: 163.7 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.163e-05/0.3976, allocations: 44.84 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3977, allocations: 7.938 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003318/0.398, allocations: 155.3 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.674e-06/0.398, allocations: 0 / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.000617/0.3986, allocations: 242.5 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.957e-05/0.3987, allocations: 59.34 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.399, allocations: 178.8 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.335e-05/0.3991, allocations: 45.69 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.3993, allocations: 136.3 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.3993, allocations: 35.61 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.3996, allocations: 117.6 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002383/0.3998, allocations: 326.8 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.4002, allocations: 151.9 kB / 1.095 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.4007, allocations: 242.9 kB / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006728/0.4014, allocations: 410.9 kB / 1.096 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.4014, allocations: 4 kB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001145/0.4025, allocations: 0.6185 MB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.4027, allocations: 168.4 kB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4027, allocations: 4 kB / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.4027, allocations: 4 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.573e-05/0.4028, allocations: 8.281 kB / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.4028, allocations: 11.98 kB / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007693/0.4036, allocations: 131.7 kB / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.4036, allocations: 35.98 kB / 1.097 GB, free: 7.805 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.0002059/0.4039, allocations: 153.5 kB / 1.097 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.4039, allocations: 27.73 kB / 1.097 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.4039, allocations: 17.88 kB / 1.097 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.404, allocations: 4 kB / 1.097 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.404, allocations: 4.062 kB / 1.097 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.404, allocations: 0 / 1.097 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.4046, allocations: 0.5193 MB / 1.098 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4046, allocations: 0 / 1.098 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.4046, allocations: 8 kB / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.4046, allocations: 0 / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.4047, allocations: 11.92 kB / 1.098 GB, free: 7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4047, allocations: 96 / 1.098 GB, free: 7 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4047, allocations: 3.938 kB / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.405, allocations: 287.1 kB / 1.098 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/0.4051, allocations: 88.92 kB / 1.098 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.4051, allocations: 11.98 kB / 1.098 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.4052, allocations: 0 / 1.098 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-05/0.4053, allocations: 19.97 kB / 1.098 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.4053, allocations: 12 kB / 1.098 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001072/0.4054, allocations: 116.2 kB / 1.098 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.4054, allocations: 0 / 1.098 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003905/0.4058, allocations: 83.92 kB / 1.098 GB, free: 6.355 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.0007813/0.4066, allocations: 0.8276 MB / 1.099 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008769/0.4075, allocations: 0.6107 MB / 1.1 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4075, allocations: 4 kB / 1.1 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.4077, allocations: 82 kB / 1.1 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.4082, allocations: 39.95 kB / 1.1 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/0.4126, allocations: 3.007 MB / 1.103 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.413, allocations: 0.7319 MB / 1.103 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.206e-05/0.4131, allocations: 17.55 kB / 1.104 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.161e-05/0.4132, allocations: 59.41 kB / 1.104 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of SimCode: time 1.443e-06/0.4132, allocations: 4 kB / 1.104 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.4479, allocations: 6.365 MB / 1.11 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.71, allocations: 7.172 kB / 1.11 GB, free: 10.46 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