Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.And,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.008459/0.008459, allocations: 100.5 kB / 15.73 MB, free: 6.051 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.00207/0.002071, allocations: 197.2 kB / 16.67 MB, free: 5.977 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.79/2.79, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.89 kB / 1.054 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3206, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.00183/0.3225, allocations: 0.6585 MB / 1.208 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.324, allocations: 1.182 MB / 1.209 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.324, allocations: 0 / 1.209 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.3241, allocations: 3.938 kB / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.523e-05/0.3242, allocations: 15.86 kB / 1.209 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006475/0.3248, allocations: 216.5 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.3251, allocations: 183.7 kB / 1.209 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3252, allocations: 15.97 kB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.3254, allocations: 67.89 kB / 1.21 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.3255, allocations: 63.84 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.3256, allocations: 12 kB / 1.21 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.828e-05/0.3257, allocations: 35.92 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.3257, allocations: 11.98 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.923e-05/0.3258, allocations: 51.83 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.326, allocations: 159.9 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.326, allocations: 0 / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3261, allocations: 0 / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.3261, allocations: 0 / 1.21 GB, free: 7.508 MB / 0.9669 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.0005919/0.3267, allocations: 438.6 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3267, allocations: 12.62 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.5e-05/0.3268, allocations: 34.73 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.012e-05/0.3268, allocations: 8.938 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.3269, allocations: 168.3 kB / 1.211 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.327, allocations: 4.375 kB / 1.211 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.327, allocations: 16.31 kB / 1.211 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.3271, allocations: 50.23 kB / 1.211 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3272, allocations: 3.938 kB / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.3272, allocations: 0 / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3272, allocations: 0 / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.58e-05/0.3272, allocations: 23.92 kB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005001/0.3277, allocations: 352.7 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.677e-05/0.3278, allocations: 34.52 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.3279, allocations: 12.95 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.3279, allocations: 7.984 kB / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.3281, allocations: 83.28 kB / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.3281, allocations: 0 / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002654/0.3283, allocations: 105.6 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.3284, allocations: 59.41 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3285, allocations: 117.8 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.3286, allocations: 33.69 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.3286, allocations: 88.14 kB / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.3286, allocations: 11.81 kB / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.496e-05/0.3288, allocations: 49.69 kB / 1.212 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3289, allocations: 326.8 kB / 1.212 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.329, allocations: 59.97 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.3292, allocations: 90.38 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.3293, allocations: 167.5 kB / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3294, allocations: 4 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004376/0.3298, allocations: 253.4 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.615e-05/0.3299, allocations: 71.33 kB / 1.212 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3299, allocations: 4 kB / 1.212 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3299, allocations: 0 / 1.212 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.3e-05/0.3299, allocations: 8.125 kB / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.33, allocations: 0 / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.3303, allocations: 59.83 kB / 1.213 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.3303, allocations: 8 kB / 1.213 GB, free: 4.484 MB / 0.9669 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,and1.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.0001194/0.3305, allocations: 133.6 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.3305, allocations: 7.906 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.3305, allocations: 12.38 kB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3305, allocations: 4 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3305, allocations: 4.062 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3306, allocations: 0 / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.3307, allocations: 181.6 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3307, allocations: 0 / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.487e-06/0.3307, allocations: 0 / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3308, allocations: 0 / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3308, allocations: 8 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3308, allocations: 0 / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3308, allocations: 4 kB / 1.213 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.3309, allocations: 105.5 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.331, allocations: 81.02 kB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.331, allocations: 7.938 kB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.567e-05/0.331, allocations: 7.984 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.3311, allocations: 0 / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3311, allocations: 4 kB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.993e-05/0.3312, allocations: 91.27 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3312, allocations: 4 kB / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002649/0.3315, allocations: 32 kB / 1.213 GB, free: 3.711 MB / 0.9669 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,and1.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.0005584/0.332, allocations: 0.6514 MB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003878/0.3324, allocations: 242.9 kB / 1.214 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.3324, allocations: 4.344 kB / 1.214 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.867e-05/0.3325, allocations: 27.88 kB / 1.214 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.3328, allocations: 19.92 kB / 1.214 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.3346, allocations: 1.727 MB / 1.216 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.3349, allocations: 0.6846 MB / 1.216 GB, free: 168 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.173e-05/0.3349, allocations: 7.984 kB / 1.216 GB, free: 160 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.335, allocations: 15.44 kB / 1.216 GB, free: 144 kB / 0.9669 GB Notification: Performance of SimCode: time 7.81e-07/0.335, allocations: 0 / 1.216 GB, free: 144 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.3551, allocations: 2.953 MB / 1.219 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/7.911, allocations: 0.5938 kB / 1.219 GB, free: 13.3 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches