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.006164/0.006164, allocations: 97.62 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.00126/0.00126, allocations: 199.8 kB / 16.68 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 1.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.433/2.433, allocations: 437.1 MB / 0.7106 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 75.88 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2506, allocations: 151.6 MB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.00163/0.2522, allocations: 0.6582 MB / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.2537, allocations: 1.195 MB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.2538, allocations: 0 / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.2538, allocations: 3.938 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.348e-05/0.2539, allocations: 7.875 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.2545, allocations: 210.2 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.2547, allocations: 191.7 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.673e-05/0.2548, allocations: 8 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.748e-05/0.2549, allocations: 71.88 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.255, allocations: 59.8 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.2551, allocations: 20 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.853e-05/0.2551, allocations: 31.97 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.2552, allocations: 11.92 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.81e-05/0.2553, allocations: 55.84 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.2555, allocations: 151.8 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2555, allocations: 0 / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2555, allocations: 4 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.2555, allocations: 0 / 1.169 GB, free: 4.566 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.0004942/0.256, allocations: 434.7 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.256, allocations: 8.031 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.233e-05/0.2561, allocations: 42.73 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.2561, allocations: 12.89 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2562, allocations: 164.3 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.2563, allocations: 4.375 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.2563, allocations: 12.38 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.2564, allocations: 50.23 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2564, allocations: 3.938 kB / 1.17 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.2564, allocations: 3.984 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2564, allocations: 0 / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.987e-05/0.2565, allocations: 19.92 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.2569, allocations: 364.6 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.928e-05/0.257, allocations: 26.58 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.994e-05/0.2571, allocations: 20.94 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.2571, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.2572, allocations: 87.3 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.021e-06/0.2572, allocations: 0 / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0002295/0.2575, allocations: 105.6 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.2575, allocations: 51.41 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.2576, allocations: 125.7 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.2577, allocations: 33.7 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.2577, allocations: 96.09 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.2578, allocations: 15.83 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.254e-05/0.2579, allocations: 53.69 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.258, allocations: 326.8 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.2581, allocations: 59.97 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.2583, allocations: 92.25 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.2585, allocations: 155.6 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2585, allocations: 0 / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000401/0.2589, allocations: 256.9 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.659e-05/0.259, allocations: 71.39 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.259, allocations: 0 / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.259, allocations: 0 / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.83e-05/0.259, allocations: 7.938 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.259, allocations: 8.109 kB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.2593, allocations: 55.89 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.2594, allocations: 16.06 kB / 1.171 GB, free: 1.523 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.0001017/0.2595, allocations: 125.8 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.2595, allocations: 7.953 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.2595, allocations: 12.38 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2595, allocations: 480 / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2595, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2595, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.2597, allocations: 177.6 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2597, allocations: 0 / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.281e-05/0.2597, allocations: 11.88 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.2597, allocations: 3.938 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.2597, allocations: 0 / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2597, allocations: 0 / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2597, allocations: 0 / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.2599, allocations: 121 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.2599, allocations: 85.05 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.26, allocations: 0 / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.115e-05/0.26, allocations: 7.984 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.26, allocations: 4 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.26, allocations: 0 / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.294e-05/0.2601, allocations: 91.27 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.2601, allocations: 0 / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002137/0.2603, allocations: 36 kB / 1.172 GB, free: 0.7539 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.0004515/0.2608, allocations: 0.6564 MB / 1.173 GB, free: 72 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003549/0.2611, allocations: 250.7 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2611, allocations: 256 / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.534e-05/0.2612, allocations: 27.94 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.2614, allocations: 15.98 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.2633, allocations: 1.709 MB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.2636, allocations: 0.6847 MB / 1.175 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.689e-05/0.2637, allocations: 11.92 kB / 1.175 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.2637, allocations: 15.44 kB / 1.175 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.2637, allocations: 0 / 1.175 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.049/1.312, allocations: 2.887 MB / 1.178 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.912/11.22, allocations: 2.109 kB / 1.178 GB, free: 10.41 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=400 --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