Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Or,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_9_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.01365/0.01365, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.003023/0.003023, allocations: 195.7 kB / 16.67 MB, free: 5.52 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.17/2.17, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.404/3.404, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.00203, allocations: 71.88 kB / 0.9504 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537/1.539, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.004363/1.544, allocations: 0.6669 MB / 1.088 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003007/1.547, allocations: 1.183 MB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.733e-05/1.547, allocations: 0.9062 kB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.351e-05/1.547, allocations: 4.594 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001318/1.547, allocations: 14.67 kB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001319/1.548, allocations: 213.6 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005479/1.549, allocations: 178.2 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/1.549, allocations: 11.5 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/1.549, allocations: 70.92 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/1.55, allocations: 61.59 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.363e-05/1.55, allocations: 15 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/1.55, allocations: 36.91 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.911e-05/1.55, allocations: 4.766 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/1.55, allocations: 65.31 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004735/1.551, allocations: 149.7 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/1.551, allocations: 0.9062 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.725e-06/1.551, allocations: 0 / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.426e-06/1.551, allocations: 0 / 1.09 GB, free: 3.625 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008211/1.551, allocations: 432.6 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.919e-05/1.552, allocations: 9 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/1.552, allocations: 40.91 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.206e-05/1.552, allocations: 13.52 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/1.552, allocations: 167.4 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/1.552, allocations: 9.531 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.817e-05/1.552, allocations: 10.19 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/1.552, allocations: 49.44 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/1.552, allocations: 7.875 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/1.552, allocations: 1.547 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/1.552, allocations: 5.062 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.901e-05/1.552, allocations: 13.08 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007897/1.553, allocations: 363.2 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/1.553, allocations: 30.55 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.409e-05/1.553, allocations: 20.39 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/1.553, allocations: 0 / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003845/1.554, allocations: 78.52 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/1.554, allocations: 4 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004735/1.554, allocations: 99.84 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/1.554, allocations: 57.84 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/1.555, allocations: 115.7 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/1.555, allocations: 34.02 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.897e-05/1.555, allocations: 94.56 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/1.555, allocations: 11.7 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/1.555, allocations: 48.66 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.447e-05/1.555, allocations: 327.2 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/1.555, allocations: 59.58 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/1.556, allocations: 96.55 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/1.556, allocations: 159 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.556, allocations: 0.8125 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009241/1.557, allocations: 261.6 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/1.557, allocations: 68.27 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.557, allocations: 1.219 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.051e-05/1.557, allocations: 2.062 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.396e-05/1.557, allocations: 7.469 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/1.557, allocations: 5.75 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00067/1.558, allocations: 55.7 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/1.558, allocations: 16.31 kB / 1.093 GB, free: 1.301 MB / 0.8575 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.0002009/1.558, allocations: 123.6 kB / 1.093 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/1.558, allocations: 3.562 kB / 1.093 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/1.558, allocations: 14.05 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/1.558, allocations: 1.125 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.558, allocations: 1.703 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.558, allocations: 0 / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/1.559, allocations: 178.8 kB / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/1.559, allocations: 4.875 kB / 1.093 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.878e-05/1.559, allocations: 5.828 kB / 1.093 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/1.559, allocations: 4.969 kB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/1.559, allocations: 1.828 kB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.559, allocations: 0.9688 kB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.559, allocations: 0.7969 kB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/1.559, allocations: 115.4 kB / 1.093 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/1.559, allocations: 87.11 kB / 1.093 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/1.559, allocations: 6.375 kB / 1.093 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.418e-05/1.559, allocations: 0.8438 kB / 1.093 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/1.559, allocations: 9.125 kB / 1.093 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/1.559, allocations: 3.297 kB / 1.093 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.484e-05/1.559, allocations: 90.77 kB / 1.093 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.41e-07/1.559, allocations: 7.938 kB / 1.093 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004697/1.56, allocations: 30.95 kB / 1.093 GB, free: 0.6641 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: 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.0006483/1.56, allocations: 0.6612 MB / 1.094 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006608/1.561, allocations: 240.5 kB / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.561, allocations: 4.906 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/1.561, allocations: 30.98 kB / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/1.562, allocations: 15.92 kB / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/1.566, allocations: 1.703 MB / 1.096 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/1.566, allocations: 0.6874 MB / 1.097 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.302e-05/1.566, allocations: 8.484 kB / 1.097 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/1.566, allocations: 21.88 kB / 1.097 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of SimCode: time 8.52e-07/1.566, allocations: 0.7812 kB / 1.097 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06558/1.632, allocations: 2.872 MB / 1.099 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/14.02, allocations: 10.62 kB / 1.099 GB, free: 13.21 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches