Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.0008663/0.0008663, 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.0009842/0.0009842, allocations: 169.9 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.8618/0.8618, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.703/1.703, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 3.938 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.979e-05, allocations: 6.281 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001191/0.001211, allocations: 0.5889 MB / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.002217, allocations: 1.136 MB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.002252, allocations: 4 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.002277, allocations: 3.938 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-05/0.002339, allocations: 7.922 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.002713, allocations: 122 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.002835, allocations: 79.89 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.039e-05/0.002915, allocations: 8 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.02e-05/0.002985, allocations: 47.89 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.967e-05/0.003055, allocations: 23.95 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.003073, allocations: 12 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.167e-05/0.003124, allocations: 23.98 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.00314, allocations: 3.984 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.00318, allocations: 31.92 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.003312, allocations: 91.77 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003315, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003316, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.00332, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003285/0.003648, allocations: 300 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.003683, allocations: 12.75 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.273e-05/0.003706, allocations: 30.75 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.003735, allocations: 8.938 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.737e-05/0.003803, allocations: 113.7 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.003812, allocations: 4.375 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.003825, allocations: 4.375 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.372e-05/0.003909, allocations: 63.95 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.003915, allocations: 192 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.003924, allocations: 4.375 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.003929, allocations: 4.125 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.785e-05/0.003947, allocations: 7.984 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.004227, allocations: 244 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.884e-05/0.004266, allocations: 26.52 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.108e-05/0.004277, allocations: 4.922 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-06/0.004283, allocations: 8 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.004412, allocations: 97 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.004413, allocations: 0 / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001466/0.004559, allocations: 57.62 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.004594, allocations: 63.39 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.784e-05/0.004652, allocations: 109.8 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.004666, allocations: 25.7 kB / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.004702, allocations: 88.12 kB / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.435e-06/0.004711, allocations: 11.95 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.004753, allocations: 33.7 kB / 1.003 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.004825, allocations: 314.8 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.004883, allocations: 61.67 kB / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.945e-05/0.004942, allocations: 72.27 kB / 1.003 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.99e-05/0.005012, allocations: 88.2 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.005015, allocations: 0 / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000167/0.005182, allocations: 176.9 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.00521, allocations: 43.52 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005215, allocations: 0 / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.005226, allocations: 0 / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.469e-05/0.005241, allocations: 4 kB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.005245, allocations: 0 / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.005369, allocations: 27.91 kB / 1.004 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.005383, allocations: 7.984 kB / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 5.963e-05/0.005442, allocations: 117.8 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.005451, allocations: 11.89 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.005472, allocations: 8 kB / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005473, allocations: 0 / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.005477, allocations: 0 / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.00548, allocations: 0 / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.852e-05/0.005549, allocations: 128.8 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.00555, allocations: 3.984 kB / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-06/0.005555, allocations: 3.938 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.005556, allocations: 0 / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.005562, allocations: 8.25 kB / 1.004 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.005563, allocations: 0 / 1.004 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.005564, allocations: 4 kB / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.628e-05/0.00563, allocations: 81.12 kB / 1.004 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-06/0.005636, allocations: 3.938 kB / 1.004 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.005646, allocations: 3.984 kB / 1.004 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.07e-05/0.005656, allocations: 4 kB / 1.004 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.005675, allocations: 0 / 1.004 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.005679, allocations: 7.938 kB / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.743e-05/0.005706, allocations: 87.27 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005707, allocations: 0 / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001354/0.005842, allocations: 15.95 kB / 1.004 GB, free: 8.434 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002612/0.006103, allocations: 0.6244 MB / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001528/0.006256, allocations: 137 kB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.006258, allocations: 3.938 kB / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.757e-05/0.006275, allocations: 12 kB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.006427, allocations: 7.984 kB / 1.005 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009574/0.007384, allocations: 1.489 MB / 1.006 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.327e-05/0.007417, allocations: 63.53 kB / 1.007 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.861e-05/0.007436, allocations: 4 kB / 1.007 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.007463, allocations: 16.5 kB / 1.007 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of SimCode: time 6.61e-07/0.007464, allocations: 0 / 1.007 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.02382, allocations: 2.721 MB / 1.009 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.662/6.686, allocations: 0 / 1.009 GB, free: 3.32 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.594953935593367]