Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Or,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.007617/0.007617, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001521/0.001521, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.72/2.72, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3895, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002364/0.3919, allocations: 0.6642 MB / 1.167 GB, free: 6.617 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.3938, allocations: 1.195 MB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.3939, allocations: 0 / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.267e-05/0.394, allocations: 3.938 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.3941, allocations: 7.875 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009119/0.395, allocations: 226.4 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.3954, allocations: 183.7 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3955, allocations: 8 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.3956, allocations: 63.89 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.3958, allocations: 63.84 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.446e-05/0.3959, allocations: 16 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.396, allocations: 27.92 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/0.396, allocations: 15.98 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.3962, allocations: 63.81 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.3964, allocations: 154.4 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3965, allocations: 0 / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3965, allocations: 0 / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.3965, allocations: 0 / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006801/0.3972, allocations: 431.6 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.3972, allocations: 12.03 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.791e-05/0.3973, allocations: 34.75 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.608e-05/0.3974, allocations: 16.84 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.3975, allocations: 168.3 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.3975, allocations: 4.375 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.3976, allocations: 16.3 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.3977, allocations: 46.25 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3977, allocations: 3.938 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3977, allocations: 0 / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3978, allocations: 7.938 kB / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.804e-05/0.3978, allocations: 23.92 kB / 1.17 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.3984, allocations: 352.7 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.3985, allocations: 34.58 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.393e-05/0.3985, allocations: 16.94 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.3986, allocations: 0 / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.3988, allocations: 79.31 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.3988, allocations: 0 / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0002973/0.3991, allocations: 109.6 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.3991, allocations: 51.41 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.3993, allocations: 125.8 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.3993, allocations: 29.7 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.3994, allocations: 92.05 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.3994, allocations: 7.906 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.3996, allocations: 53.69 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3997, allocations: 326.8 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.3999, allocations: 55.97 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.4, allocations: 96.25 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.4002, allocations: 164 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4002, allocations: 0 / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004111/0.4006, allocations: 264.8 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.317e-05/0.4007, allocations: 67.39 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4007, allocations: 0 / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.4007, allocations: 4 kB / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.209e-05/0.4008, allocations: 7.922 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4008, allocations: 4 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.4011, allocations: 59.91 kB / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.4012, allocations: 12 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001019/0.4013, allocations: 125.8 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.4013, allocations: 4 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.4013, allocations: 4.375 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4013, allocations: 0 / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4013, allocations: 4 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.4013, allocations: 4 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.4015, allocations: 181.5 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4015, allocations: 3.938 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.4015, allocations: 7.938 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4015, allocations: 0 / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.4015, allocations: 0 / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4015, allocations: 0 / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.4015, allocations: 4 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.4017, allocations: 113 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.4017, allocations: 85.02 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.4018, allocations: 8.047 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.953e-05/0.4018, allocations: 0 / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.4018, allocations: 8 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.4018, allocations: 4 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.105e-05/0.4019, allocations: 91.27 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/0.4019, allocations: 0 / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002423/0.4021, allocations: 24.28 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005555/0.4027, allocations: 0.6673 MB / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003988/0.4031, allocations: 242.8 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4031, allocations: 0 / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.286e-05/0.4032, allocations: 32.17 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.4035, allocations: 21.86 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.4058, allocations: 1.711 MB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.4062, allocations: 0.6807 MB / 1.175 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.4062, allocations: 7.984 kB / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.4063, allocations: 19.44 kB / 1.175 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.4063, allocations: 0 / 1.175 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.4292, allocations: 2.879 MB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.626/8.055, allocations: 10.42 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches