Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Tan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 194.5 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.373/2.373, allocations: 390.2 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 71.89 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6081/0.6098, allocations: 140.4 MB / 0.9493 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001689/0.6115, allocations: 0.7138 MB / 0.95 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006391/0.6121, allocations: 0.8121 MB / 0.9507 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.6122, allocations: 0 / 0.9507 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.6122, allocations: 1.375 kB / 0.9508 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.406e-05/0.6123, allocations: 3.938 kB / 0.9508 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001246/0.6124, allocations: 9.359 kB / 0.9508 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.461e-05/0.6125, allocations: 33.53 kB / 0.9508 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.113e-05/0.6126, allocations: 2.75 kB / 0.9508 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.276e-05/0.6126, allocations: 8.125 kB / 0.9508 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.41e-05/0.6127, allocations: 10.67 kB / 0.9508 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.6127, allocations: 1.375 kB / 0.9508 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-06/0.6127, allocations: 2.75 kB / 0.9508 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.6127, allocations: 4 kB / 0.9508 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.6127, allocations: 14.67 kB / 0.9508 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.229e-05/0.6128, allocations: 24.02 kB / 0.9509 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6128, allocations: 0 / 0.9509 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6128, allocations: 4 kB / 0.9509 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.6128, allocations: 1.375 kB / 0.9509 GB, free: 7.766 MB / 0.7169 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.0003452/0.6132, allocations: 338.1 kB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.6132, allocations: 9.625 kB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.477e-05/0.6133, allocations: 32.12 kB / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.6133, allocations: 6.297 kB / 0.9512 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.563e-05/0.6134, allocations: 169.6 kB / 0.9514 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.6134, allocations: 384 / 0.9514 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.6134, allocations: 5.75 kB / 0.9514 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.6135, allocations: 53.17 kB / 0.9515 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.6136, allocations: 5.312 kB / 0.9515 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.6136, allocations: 0 / 0.9515 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.6136, allocations: 0 / 0.9515 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.6137, allocations: 35.2 kB / 0.9515 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.614, allocations: 249.2 kB / 0.9517 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.6141, allocations: 42.8 kB / 0.9518 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.722e-05/0.6142, allocations: 22.47 kB / 0.9518 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.6142, allocations: 0 / 0.9518 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.6142, allocations: 35.94 kB / 0.9518 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.6142, allocations: 4 kB / 0.9518 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003127/0.6145, allocations: 81.27 kB / 0.9519 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.6146, allocations: 51.41 kB / 0.952 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.782e-05/0.6146, allocations: 103.3 kB / 0.9521 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-06/0.6146, allocations: 25.7 kB / 0.9521 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.314e-05/0.6147, allocations: 85.45 kB / 0.9522 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.6147, allocations: 13.34 kB / 0.9522 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.6147, allocations: 19.03 kB / 0.9522 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.181e-05/0.6148, allocations: 312.2 kB / 0.9525 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.6149, allocations: 17.59 kB / 0.9525 GB, free: 6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.671e-05/0.6149, allocations: 17.61 kB / 0.9525 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.6151, allocations: 38.77 kB / 0.9526 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6151, allocations: 5.312 kB / 0.9526 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001628/0.6152, allocations: 63.66 kB / 0.9526 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.6153, allocations: 5.5 kB / 0.9526 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.6153, allocations: 0 / 0.9526 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.6153, allocations: 0 / 0.9526 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.391e-05/0.6154, allocations: 14.83 kB / 0.9526 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.6154, allocations: 0 / 0.9526 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.6154, allocations: 7.438 kB / 0.9527 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.6155, allocations: 1.531 kB / 0.9527 GB, free: 5.906 MB / 0.7169 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 4.419e-05/0.6155, allocations: 119.4 kB / 0.9528 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.6155, allocations: 5.5 kB / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.6157, allocations: 69.81 kB / 0.9528 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.6157, allocations: 0 / 0.9528 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.6158, allocations: 5.344 kB / 0.9528 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.6158, allocations: 0 / 0.9528 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.6159, allocations: 161.8 kB / 0.953 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6159, allocations: 1.156 kB / 0.953 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-05/0.6159, allocations: 9.594 kB / 0.953 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.6159, allocations: 0 / 0.953 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.616, allocations: 1.5 kB / 0.953 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.616, allocations: 3.938 kB / 0.953 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.616, allocations: 192 / 0.953 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.6162, allocations: 163.2 kB / 0.9532 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.6162, allocations: 86.52 kB / 0.9533 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.6162, allocations: 4 kB / 0.9533 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.6163, allocations: 4.219 kB / 0.9533 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.6163, allocations: 5.453 kB / 0.9533 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.6163, allocations: 0 / 0.9533 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.936e-05/0.6164, allocations: 83.41 kB / 0.9533 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6164, allocations: 0 / 0.9533 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002106/0.6166, allocations: 3.594 kB / 0.9533 GB, free: 5.168 MB / 0.7169 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.0003931/0.617, allocations: 0.7031 MB / 0.954 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.6172, allocations: 41.67 kB / 0.9541 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6172, allocations: 0 / 0.9541 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.6173, allocations: 15.67 kB / 0.9541 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.6175, allocations: 5.047 kB / 0.9541 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.6179, allocations: 147.5 kB / 0.9542 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.618, allocations: 0.6807 MB / 0.9549 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.618, allocations: 1.344 kB / 0.9549 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.6181, allocations: 8.625 kB / 0.9549 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.6181, allocations: 0 / 0.9549 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.6411, allocations: 1.108 MB / 0.956 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/0.6414, allocations: 205 kB / 0.9562 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.45, allocations: 2.109 kB / 0.9562 GB, free: 2.754 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches