Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.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.00174/0.00174, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002459/0.002459, allocations: 213.3 kB / 22.25 MB, free: 5.129 MB / 14.72 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 1.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] 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 3.336/3.336, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Reals.Validation.Tan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 71.53 kB / 1.177 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3525, allocations: 180.2 MB / 1.353 GB, free: 8.406 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002106/0.3546, allocations: 0.6711 MB / 1.354 GB, free: 7.738 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.3559, allocations: 0.8592 MB / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.356, allocations: 0 / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.356, allocations: 4 kB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.178e-05/0.356, allocations: 3.938 kB / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.3562, allocations: 15.92 kB / 1.354 GB, free: 6.844 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.3563, allocations: 23.92 kB / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.726e-05/0.3564, allocations: 7.984 kB / 1.354 GB, free: 6.812 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.638e-05/0.3564, allocations: 11.94 kB / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.582e-05/0.3565, allocations: 7.922 kB / 1.354 GB, free: 6.793 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.3565, allocations: 4 kB / 1.354 GB, free: 6.789 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.455e-05/0.3565, allocations: 8 kB / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.3566, allocations: 0 / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.3566, allocations: 15.94 kB / 1.355 GB, free: 6.766 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.3567, allocations: 32.16 kB / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3567, allocations: 0 / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3567, allocations: 0 / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3567, allocations: 0 / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004336/0.3571, allocations: 262.3 kB / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3572, allocations: 12.03 kB / 1.355 GB, free: 6.434 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.536e-05/0.3572, allocations: 38.69 kB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.3573, allocations: 0.9375 kB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.3574, allocations: 114.5 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3574, allocations: 384 / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.3574, allocations: 384 / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.3576, allocations: 50.23 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.577e-06/0.3576, allocations: 3.938 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.3576, allocations: 0 / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3576, allocations: 8 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.3578, allocations: 35.89 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.3581, allocations: 224 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.3582, allocations: 42.48 kB / 1.355 GB, free: 5.836 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.98e-05/0.3583, allocations: 24.91 kB / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3583, allocations: 0 / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.3584, allocations: 34.56 kB / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.3584, allocations: 0 / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003504/0.3587, allocations: 85.58 kB / 1.355 GB, free: 5.676 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.3588, allocations: 51.41 kB / 1.355 GB, free: 5.613 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.644e-05/0.3588, allocations: 97.84 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.3589, allocations: 25.7 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.3589, allocations: 92.27 kB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.3589, allocations: 3.953 kB / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.359, allocations: 13.72 kB / 1.356 GB, free: 5.359 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3591, allocations: 314.8 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.3592, allocations: 15.97 kB / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.119e-05/0.3592, allocations: 15.98 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.3594, allocations: 40.89 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.3594, allocations: 11.81 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002029/0.3596, allocations: 69.61 kB / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3596, allocations: 5.562 kB / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3596, allocations: 0 / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3597, allocations: 0 / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.025e-05/0.3597, allocations: 16.02 kB / 1.356 GB, free: 4.863 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3597, allocations: 0 / 1.356 GB, free: 4.863 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.3598, allocations: 4 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.3598, allocations: 3.984 kB / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.254e-05/0.3599, allocations: 129.6 kB / 1.356 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.3599, allocations: 0 / 1.356 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.3601, allocations: 72.91 kB / 1.356 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3601, allocations: 0 / 1.356 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.3602, allocations: 4 kB / 1.356 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3602, allocations: 0 / 1.356 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.3603, allocations: 128.7 kB / 1.356 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3603, allocations: 3.984 kB / 1.356 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.078e-05/0.3604, allocations: 4 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3604, allocations: 4 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-06/0.3604, allocations: 0 / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3604, allocations: 0 / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3604, allocations: 0 / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.3606, allocations: 171.4 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.3606, allocations: 7.938 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.3607, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.572e-05/0.3607, allocations: 4 kB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.3608, allocations: 15.98 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.3608, allocations: 4.031 kB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.758e-05/0.3608, allocations: 79.28 kB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3608, allocations: 0 / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002187/0.361, allocations: 4 kB / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005642/0.3616, allocations: 0.689 MB / 1.357 GB, free: 3.445 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.3618, allocations: 39.89 kB / 1.357 GB, free: 3.406 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3618, allocations: 0 / 1.357 GB, free: 3.406 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.372e-05/0.3619, allocations: 19.98 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.3622, allocations: 4 kB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.3626, allocations: 140 kB / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.3629, allocations: 0.6729 MB / 1.358 GB, free: 2.504 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.006e-05/0.3629, allocations: 3.938 kB / 1.358 GB, free: 2.5 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.363, allocations: 11.44 kB / 1.358 GB, free: 2.488 MB / 1.045 GB Notification: Performance of SimCode: time 4.41e-07/0.363, allocations: 0 / 1.358 GB, free: 2.488 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.3907, allocations: 1.379 MB / 1.36 GB, free: 1.238 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.7, allocations: 9.281 kB / 1.36 GB, free: 1.23 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Tan.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.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: 18.657418119953945]