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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001465/0.001465, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001811/0.001811, allocations: 192.1 kB / 16.14 MB, free: 6.656 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.352/1.352, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6195/0.6209, allocations: 140.4 MB / 0.9491 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001614/0.6225, allocations: 0.71 MB / 0.9498 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005719/0.6231, allocations: 0.8109 MB / 0.9506 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.6231, allocations: 8.938 kB / 0.9506 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.6232, allocations: 0 / 0.9506 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.94e-05/0.6232, allocations: 1.094 kB / 0.9506 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001092/0.6233, allocations: 9.109 kB / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.511e-05/0.6234, allocations: 18 kB / 0.9506 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.435e-05/0.6235, allocations: 10.17 kB / 0.9506 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.477e-05/0.6235, allocations: 4.5 kB / 0.9506 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.672e-05/0.6236, allocations: 14.7 kB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.6236, allocations: 1.656 kB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-06/0.6236, allocations: 4 kB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.6236, allocations: 6.047 kB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.6236, allocations: 9.469 kB / 0.9507 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.32e-05/0.6237, allocations: 19.03 kB / 0.9507 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6237, allocations: 1.219 kB / 0.9507 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.02e-07/0.6237, allocations: 3.938 kB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.6237, allocations: 0 / 0.9507 GB, free: 7.844 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.0003082/0.624, allocations: 335.4 kB / 0.951 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.6241, allocations: 9.469 kB / 0.951 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.475e-05/0.6241, allocations: 46.67 kB / 0.951 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.925e-05/0.6241, allocations: 2.25 kB / 0.951 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.431e-05/0.6242, allocations: 166.8 kB / 0.9512 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.6242, allocations: 384 / 0.9512 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.6242, allocations: 1.625 kB / 0.9512 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.6243, allocations: 49.58 kB / 0.9513 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.6244, allocations: 3.938 kB / 0.9513 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.6244, allocations: 1.344 kB / 0.9513 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.6244, allocations: 0 / 0.9513 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.6245, allocations: 38.05 kB / 0.9513 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/0.6248, allocations: 245.9 kB / 0.9515 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.6249, allocations: 38.16 kB / 0.9516 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.686e-05/0.625, allocations: 30.77 kB / 0.9516 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.625, allocations: 1.312 kB / 0.9516 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.625, allocations: 39.83 kB / 0.9516 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.625, allocations: 0 / 0.9516 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002982/0.6253, allocations: 84.52 kB / 0.9517 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.663e-05/0.6253, allocations: 51.41 kB / 0.9518 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.384e-05/0.6254, allocations: 99.17 kB / 0.9519 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.6254, allocations: 25.7 kB / 0.9519 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.01e-05/0.6254, allocations: 86.27 kB / 0.952 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.6254, allocations: 11.83 kB / 0.952 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.6255, allocations: 12.97 kB / 0.952 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.655e-05/0.6255, allocations: 318.8 kB / 0.9523 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.357e-05/0.6256, allocations: 13.58 kB / 0.9523 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.62e-05/0.6257, allocations: 25 kB / 0.9523 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.6258, allocations: 35.8 kB / 0.9524 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.6258, allocations: 3.938 kB / 0.9524 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001622/0.626, allocations: 69.47 kB / 0.9524 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.626, allocations: 5.188 kB / 0.9524 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.626, allocations: 4 kB / 0.9524 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.626, allocations: 0 / 0.9524 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.969e-05/0.6261, allocations: 9.891 kB / 0.9525 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.6261, allocations: 1.312 kB / 0.9525 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.6261, allocations: 3.469 kB / 0.9525 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.6262, allocations: 0.8125 kB / 0.9525 GB, free: 5.984 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.161e-05/0.6262, allocations: 115.2 kB / 0.9526 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.6262, allocations: 5.469 kB / 0.9526 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.6264, allocations: 82.45 kB / 0.9527 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.6264, allocations: 0 / 0.9527 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.6264, allocations: 1 kB / 0.9527 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.6264, allocations: 0 / 0.9527 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.847e-05/0.6265, allocations: 158.3 kB / 0.9528 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6266, allocations: 0 / 0.9528 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.6266, allocations: 10.83 kB / 0.9528 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6266, allocations: 32 / 0.9528 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.6266, allocations: 4 kB / 0.9528 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6266, allocations: 1.594 kB / 0.9528 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6266, allocations: 0 / 0.9528 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.6268, allocations: 162.5 kB / 0.953 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.6269, allocations: 78.55 kB / 0.9531 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.6269, allocations: 0 / 0.9531 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.06e-05/0.6269, allocations: 12.2 kB / 0.9531 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.627, allocations: 5.344 kB / 0.9531 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.627, allocations: 1.344 kB / 0.9531 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.898e-05/0.627, allocations: 86.11 kB / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.627, allocations: 0 / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002003/0.6272, allocations: 4.219 kB / 0.9532 GB, free: 5.246 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.0003528/0.6276, allocations: 0.6949 MB / 0.9538 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001697/0.6278, allocations: 40.73 kB / 0.9539 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.6278, allocations: 3.938 kB / 0.9539 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.099e-05/0.6278, allocations: 24.17 kB / 0.9539 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.6281, allocations: 5.922 kB / 0.9539 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/0.6284, allocations: 132.9 kB / 0.954 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.975e-05/0.6285, allocations: 0.6772 MB / 0.9547 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.105e-05/0.6286, allocations: 1.781 kB / 0.9547 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.6286, allocations: 17.53 kB / 0.9547 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.6286, allocations: 0 / 0.9547 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9131/1.542, allocations: 1.073 MB / 0.9558 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/1.542, allocations: 205.1 kB / 0.956 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/3.309, allocations: 0 / 0.956 GB, free: 2.84 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