Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_11_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.001435/0.001435, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 196.3 kB / 16.53 MB, free: 6.656 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.572/2.572, allocations: 469.8 MB / 0.7424 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 61.67 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2597, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001564/0.2612, allocations: 0.6569 MB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.2626, allocations: 1.192 MB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.2626, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.2627, allocations: 3.938 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.309e-05/0.2627, allocations: 15.86 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005453/0.2633, allocations: 222.5 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.2635, allocations: 175.7 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.883e-05/0.2635, allocations: 12 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.744e-05/0.2636, allocations: 71.88 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.888e-05/0.2637, allocations: 47.88 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.2638, allocations: 16 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-05/0.2639, allocations: 35.91 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.2639, allocations: 19.92 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.015e-05/0.264, allocations: 43.91 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.2642, allocations: 155.9 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2642, allocations: 0 / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2642, allocations: 0 / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.2642, allocations: 0 / 1.067 GB, free: 11.6 MB / 0.8262 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.0004646/0.2647, allocations: 434.7 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.2647, allocations: 8.031 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.2647, allocations: 34.73 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.2648, allocations: 12.84 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.2649, allocations: 168.4 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.2649, allocations: 8.375 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.265, allocations: 8.375 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.709e-05/0.2651, allocations: 58.17 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2651, allocations: 3.938 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.2651, allocations: 0 / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-06/0.2651, allocations: 0 / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.486e-05/0.2651, allocations: 12 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.2656, allocations: 364.6 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.702e-05/0.2656, allocations: 34.55 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.2657, allocations: 16.8 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.169e-06/0.2657, allocations: 4 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.2658, allocations: 87.38 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.2658, allocations: 4 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002118/0.2661, allocations: 97.58 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.2661, allocations: 63.34 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.311e-05/0.2662, allocations: 113.8 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.2662, allocations: 29.7 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.2663, allocations: 96.03 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.2663, allocations: 11.89 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-05/0.2664, allocations: 49.69 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2666, allocations: 326.8 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.2667, allocations: 59.97 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.2668, allocations: 88.25 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.267, allocations: 163.6 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.267, allocations: 4 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003919/0.2674, allocations: 256.8 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.99e-05/0.2675, allocations: 67.86 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2675, allocations: 4 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.2675, allocations: 0 / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-05/0.2675, allocations: 7.938 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.2675, allocations: 0 / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.2679, allocations: 67.89 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.2679, allocations: 8 kB / 1.069 GB, free: 8.566 MB / 0.8262 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 9.776e-05/0.268, allocations: 133.7 kB / 1.069 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.268, allocations: 0 / 1.069 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.192e-05/0.2681, allocations: 12.38 kB / 1.069 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2681, allocations: 4 kB / 1.069 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2681, allocations: 0 / 1.069 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2681, allocations: 0 / 1.069 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.2682, allocations: 177.6 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2682, allocations: 0 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-06/0.2682, allocations: 3.938 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.2682, allocations: 0 / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.2683, allocations: 8 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2683, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2683, allocations: 4.062 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.2684, allocations: 117.2 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.2685, allocations: 85.02 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.2685, allocations: 7.984 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.669e-05/0.2685, allocations: 0 / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.2685, allocations: 4 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.2686, allocations: 3.984 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.2686, allocations: 91.22 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2686, allocations: 0 / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002156/0.2688, allocations: 36 kB / 1.07 GB, free: 7.797 MB / 0.8262 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.0004334/0.2693, allocations: 0.6553 MB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003188/0.2696, allocations: 246.7 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2696, allocations: 0 / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.778e-05/0.2697, allocations: 40.39 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.2699, allocations: 17.17 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.2716, allocations: 1.695 MB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.2719, allocations: 0.6885 MB / 1.073 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.15e-05/0.2719, allocations: 4 kB / 1.073 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.272, allocations: 27.42 kB / 1.073 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.272, allocations: 0 / 1.073 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5767/0.8487, allocations: 2.843 MB / 1.076 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.84, allocations: 6.172 kB / 1.076 GB, free: 1.473 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches