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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 110.7 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002235/0.002235, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.276/3.276, allocations: 497.2 MB / 0.7811 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 71.84 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3451, allocations: 173.9 MB / 1.304 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.00183/0.347, allocations: 0.649 MB / 1.305 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.3485, allocations: 1.19 MB / 1.306 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.3486, allocations: 4 kB / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.885e-05/0.3486, allocations: 3.938 kB / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.984e-05/0.3487, allocations: 19.84 kB / 1.306 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006272/0.3493, allocations: 216.8 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.3495, allocations: 163.8 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/0.3496, allocations: 15.91 kB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.3497, allocations: 71.89 kB / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.3499, allocations: 59.84 kB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.3499, allocations: 16 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.017e-05/0.35, allocations: 31.92 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.35, allocations: 11.94 kB / 1.306 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.332e-05/0.3501, allocations: 59.81 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.3503, allocations: 143.9 kB / 1.307 GB, free: 14.88 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3504, allocations: 4 kB / 1.307 GB, free: 14.88 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3504, allocations: 0 / 1.307 GB, free: 14.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.3504, allocations: 0 / 1.307 GB, free: 14.88 MB / 1.014 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.000697/0.3511, allocations: 438.6 kB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.3511, allocations: 12.92 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.3511, allocations: 30.75 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.3512, allocations: 16.88 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.3514, allocations: 168.3 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.3514, allocations: 8.375 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.3514, allocations: 12.38 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.3515, allocations: 50.17 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3516, allocations: 3.938 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3516, allocations: 4 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3516, allocations: 4 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.461e-05/0.3516, allocations: 11.94 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.3522, allocations: 352.8 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.3523, allocations: 34.5 kB / 1.308 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/0.3524, allocations: 12.86 kB / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.3524, allocations: 4 kB / 1.308 GB, free: 13.56 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002742/0.3527, allocations: 91.41 kB / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3527, allocations: 0 / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0002891/0.3529, allocations: 101.6 kB / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.353, allocations: 55.41 kB / 1.308 GB, free: 13.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.3531, allocations: 125.7 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.3532, allocations: 33.7 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.3533, allocations: 92.12 kB / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.3533, allocations: 15.91 kB / 1.308 GB, free: 13.01 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.3534, allocations: 45.69 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3535, allocations: 326.8 kB / 1.309 GB, free: 12.63 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.3537, allocations: 59.97 kB / 1.309 GB, free: 12.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.3538, allocations: 84.27 kB / 1.309 GB, free: 12.47 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.3541, allocations: 167.5 kB / 1.309 GB, free: 12.28 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3541, allocations: 0 / 1.309 GB, free: 12.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000463/0.3545, allocations: 268.8 kB / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.474e-05/0.3546, allocations: 67.39 kB / 1.309 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3546, allocations: 128 / 1.309 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3546, allocations: 8 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.272e-05/0.3546, allocations: 0 / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3546, allocations: 4 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.355, allocations: 51.94 kB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.355, allocations: 11.98 kB / 1.309 GB, free: 11.85 MB / 1.014 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.0001167/0.3551, allocations: 134.2 kB / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.3552, allocations: 7.953 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.3552, allocations: 12.36 kB / 1.309 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3552, allocations: 0 / 1.309 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3552, allocations: 0 / 1.309 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3552, allocations: 7.938 kB / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.3553, allocations: 181.5 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3553, allocations: 0 / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.358e-06/0.3554, allocations: 11.92 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3554, allocations: 0 / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.3554, allocations: 4 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3554, allocations: 4 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3554, allocations: 4 kB / 1.31 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.3555, allocations: 105 kB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.3556, allocations: 89.06 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.3556, allocations: 0 / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.796e-05/0.3556, allocations: 3.938 kB / 1.31 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.3556, allocations: 7.984 kB / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.3557, allocations: 8 kB / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.658e-05/0.3557, allocations: 91.27 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3557, allocations: 0 / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002301/0.3559, allocations: 28 kB / 1.31 GB, free: 11.06 MB / 1.014 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.0005168/0.3565, allocations: 0.6499 MB / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.3568, allocations: 230.8 kB / 1.311 GB, free: 10.13 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3568, allocations: 0 / 1.311 GB, free: 10.13 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.215e-05/0.3569, allocations: 23.92 kB / 1.311 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.3571, allocations: 17.8 kB / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.3594, allocations: 1.722 MB / 1.312 GB, free: 8.25 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.3598, allocations: 0.6885 MB / 1.313 GB, free: 7.535 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.67e-05/0.3598, allocations: 4 kB / 1.313 GB, free: 7.531 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.3599, allocations: 27.42 kB / 1.313 GB, free: 7.504 MB / 1.014 GB Notification: Performance of SimCode: time 1.092e-06/0.3599, allocations: 0 / 1.313 GB, free: 7.504 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.3851, allocations: 2.884 MB / 1.316 GB, free: 4.734 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.386, allocations: 12.02 kB / 1.316 GB, free: 4.727 MB / 1.014 GB " [Timeout remaining time 292] (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 --stepSize=0.004 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.683741359040141]