Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.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.001173/0.001173, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001141/0.001141, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.292/1.292, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.485/2.485, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Reals.Validation.Tan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 67.89 kB / 1.107 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7982/0.8001, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001652/0.8017, allocations: 0.6914 MB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006982/0.8024, allocations: 0.8059 MB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/0.8024, allocations: 0.6875 kB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.8025, allocations: 3.938 kB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.082e-05/0.8025, allocations: 1.969 kB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.8026, allocations: 12.58 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.962e-05/0.8027, allocations: 21.56 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.725e-05/0.8028, allocations: 16.08 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.326e-05/0.8028, allocations: 13.06 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.528e-05/0.8029, allocations: 13.91 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.8029, allocations: 2.031 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-06/0.8029, allocations: 2.031 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.8029, allocations: 10.08 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.8029, allocations: 3.172 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.024e-05/0.803, allocations: 22.89 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.803, allocations: 0 / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.803, allocations: 0.9375 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.803, allocations: 0 / 1.273 GB, free: 6.605 MB / 0.9981 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.0003373/0.8033, allocations: 336.8 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.8034, allocations: 9.344 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.582e-05/0.8034, allocations: 40.88 kB / 1.273 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.072e-05/0.8034, allocations: 6.359 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.064e-05/0.8035, allocations: 166.7 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.8035, allocations: 1.094 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.8035, allocations: 2.031 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.8037, allocations: 48.59 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.8037, allocations: 12.78 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.8037, allocations: 0 / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.8037, allocations: 1.406 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.8038, allocations: 35.94 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002263/0.8041, allocations: 246.7 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.8042, allocations: 44.28 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.061e-05/0.8043, allocations: 22.67 kB / 1.274 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.8043, allocations: 1.344 kB / 1.274 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.8043, allocations: 35.88 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.8043, allocations: 0 / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003201/0.8046, allocations: 84.47 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.8046, allocations: 52.22 kB / 1.274 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.702e-05/0.8047, allocations: 101 kB / 1.274 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.461e-06/0.8047, allocations: 25.7 kB / 1.274 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.128e-05/0.8047, allocations: 86.27 kB / 1.274 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.8047, allocations: 5.406 kB / 1.274 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.8048, allocations: 17.14 kB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.257e-05/0.8048, allocations: 316.9 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/0.8049, allocations: 17.77 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/0.8049, allocations: 18.28 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.8051, allocations: 40.75 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8051, allocations: 5.422 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001717/0.8052, allocations: 67.56 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.8053, allocations: 4.938 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.8053, allocations: 0.9375 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.8053, allocations: 0 / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.806e-05/0.8054, allocations: 8.969 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.8054, allocations: 0.7812 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.8054, allocations: 7.797 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.8054, allocations: 1.031 kB / 1.275 GB, free: 4.848 MB / 0.9981 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 3.855e-05/0.8054, allocations: 118.7 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.8055, allocations: 1.094 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/0.8057, allocations: 72.2 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.8057, allocations: 0.7188 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.8057, allocations: 0 / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8057, allocations: 4.953 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.788e-05/0.8058, allocations: 160.4 kB / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.8058, allocations: 0 / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/0.8058, allocations: 13.62 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.8058, allocations: 3.938 kB / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.8058, allocations: 0.875 kB / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8058, allocations: 4 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8058, allocations: 1.062 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.806, allocations: 175.6 kB / 1.275 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.806, allocations: 78.05 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.806, allocations: 0.875 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.8061, allocations: 6.891 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.8061, allocations: 0.7812 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.8061, allocations: 1.031 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.975e-05/0.8062, allocations: 86.7 kB / 1.275 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8062, allocations: 0 / 1.275 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001984/0.8064, allocations: 3.375 kB / 1.276 GB, free: 4.145 MB / 0.9981 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.0003558/0.8067, allocations: 0.6999 MB / 1.276 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.8069, allocations: 40.97 kB / 1.276 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8069, allocations: 0.9688 kB / 1.276 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.807, allocations: 16.86 kB / 1.276 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.8072, allocations: 9.547 kB / 1.276 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.8076, allocations: 144 kB / 1.276 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.699e-05/0.8076, allocations: 0.6836 MB / 1.277 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.783e-05/0.8077, allocations: 5.188 kB / 1.277 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.8077, allocations: 12.5 kB / 1.277 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.8077, allocations: 0 / 1.277 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.8306, allocations: 1.244 MB / 1.278 GB, free: 18.24 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/7.728, allocations: 8.188 kB / 1.278 GB, free: 18.24 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable tan1.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.csv. Warning: Get data of variable tan1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.122716434001632]