Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009067/0.0009067, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9141/0.9141, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.652/1.652, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.283e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001318/0.001341, allocations: 0.6492 MB / 0.9511 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.002576, allocations: 1.206 MB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.002624, allocations: 0 / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.002653, allocations: 3.938 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.3e-05/0.002726, allocations: 15.91 kB / 0.9523 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005537/0.00328, allocations: 223.7 kB / 0.9526 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.003483, allocations: 167.7 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.00359, allocations: 11.98 kB / 0.9527 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.003706, allocations: 91.88 kB / 0.9528 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.003808, allocations: 47.91 kB / 0.9529 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.003836, allocations: 16 kB / 0.9529 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.437e-05/0.0039, allocations: 31.92 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.003924, allocations: 7.984 kB / 0.9529 GB, free: 1 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.003981, allocations: 51.95 kB / 0.953 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.004179, allocations: 187.5 kB / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.004183, allocations: 4 kB / 0.9531 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.713e-06/0.004185, allocations: 0 / 0.9531 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.00419, allocations: 0 / 0.9531 GB, free: 0.7617 MB / 0.9011 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.0004309/0.004621, allocations: 361.5 kB / 0.9535 GB, free: 372 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.004659, allocations: 8.031 kB / 0.9535 GB, free: 364 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.719e-05/0.004686, allocations: 38.69 kB / 0.9535 GB, free: 316 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.004728, allocations: 8.891 kB / 0.9535 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.004947, allocations: 109.8 kB / 0.9536 GB, free: 172 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.004965, allocations: 12.38 kB / 0.9537 GB, free: 160 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.004984, allocations: 12.38 kB / 0.9537 GB, free: 148 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.651e-05/0.005081, allocations: 42.25 kB / 0.9537 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.005089, allocations: 192 / 0.9537 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.005099, allocations: 8.312 kB / 0.9537 GB, free: 92 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.005106, allocations: 16.05 kB / 0.9537 GB, free: 76 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.083e-05/0.005137, allocations: 12 kB / 0.9537 GB, free: 64 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.005576, allocations: 291.9 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.492e-05/0.005661, allocations: 30.56 kB / 0.9541 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.005686, allocations: 16.86 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.0057, allocations: 7.875 kB / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.005893, allocations: 83.45 kB / 0.9542 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.005895, allocations: 0 / 0.9542 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002271/0.006122, allocations: 105.6 kB / 0.9543 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.006164, allocations: 55.41 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.831e-05/0.006243, allocations: 117.8 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.006264, allocations: 29.7 kB / 0.9545 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.00632, allocations: 96.08 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.006342, allocations: 15.91 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/0.00641, allocations: 45.69 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.201e-05/0.006502, allocations: 318.8 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.006631, allocations: 119.4 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.006752, allocations: 155.7 kB / 0.9552 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.006885, allocations: 164 kB / 0.9553 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.006888, allocations: 3.938 kB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003045/0.007193, allocations: 324.3 kB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/0.007245, allocations: 70.33 kB / 0.9557 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.007256, allocations: 11.98 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.007272, allocations: 0 / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.347e-05/0.007295, allocations: 7.938 kB / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.007301, allocations: 0 / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.007512, allocations: 51.89 kB / 0.9558 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.007533, allocations: 11.98 kB / 0.9558 GB, free: 13.75 MB / 0.9167 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 8.489e-05/0.007618, allocations: 136.8 kB / 0.9559 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.007629, allocations: 7.953 kB / 0.9559 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.007656, allocations: 8.438 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.007658, allocations: 0 / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.007663, allocations: 0 / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.007667, allocations: 64 / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.00777, allocations: 148.7 kB / 0.9561 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.007771, allocations: 3.938 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-06/0.007779, allocations: 3.938 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.007781, allocations: 4 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.00779, allocations: 4 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.007792, allocations: 8.297 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.007794, allocations: 0 / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.007907, allocations: 113 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-06/0.007915, allocations: 7.984 kB / 0.9562 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.007927, allocations: 4 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.411e-05/0.007941, allocations: 4 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.007974, allocations: 3.984 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.007982, allocations: 7.984 kB / 0.9562 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.684e-05/0.008019, allocations: 95.2 kB / 0.9563 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.008019, allocations: 0 / 0.9563 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001628/0.008182, allocations: 32 kB / 0.9564 GB, free: 13.09 MB / 0.9167 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.0003306/0.008512, allocations: 0.6514 MB / 0.957 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002584/0.008771, allocations: 278.1 kB / 0.9573 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.008773, allocations: 0 / 0.9573 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/0.008817, allocations: 31.92 kB / 0.9573 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.009014, allocations: 11.98 kB / 0.9573 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.01051, allocations: 1.967 MB / 0.9592 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.442e-05/0.01056, allocations: 75.19 kB / 0.9593 GB, free: 9.828 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.01059, allocations: 7.984 kB / 0.9593 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.01063, allocations: 20.5 kB / 0.9593 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of SimCode: time 1.443e-06/0.01063, allocations: 0 / 0.9593 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.02919, allocations: 3.757 MB / 0.963 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.691/6.721, allocations: 4.234 kB / 0.963 GB, free: 6.223 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.669424147345126]