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.007303/0.007303, allocations: 101.3 kB / 15.73 MB, free: 6.008 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.001635/0.001635, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.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.253/2.253, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 63.91 kB / 0.9504 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8364/0.8379, allocations: 140.4 MB / 1.088 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001697/0.8397, allocations: 0.6739 MB / 1.088 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007666/0.8405, allocations: 0.801 MB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.8405, allocations: 0 / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.8406, allocations: 1.734 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.494e-05/0.8406, allocations: 7.938 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.8408, allocations: 9.453 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.362e-05/0.8408, allocations: 28.78 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.253e-05/0.8409, allocations: 2.859 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.448e-05/0.841, allocations: 13.14 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.95e-05/0.841, allocations: 13.91 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.8411, allocations: 2.594 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.8411, allocations: 1.969 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.8411, allocations: 1.266 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.8411, allocations: 14.83 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.726e-05/0.8412, allocations: 21.78 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8412, allocations: 0 / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8412, allocations: 0.8438 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.8412, allocations: 0 / 1.089 GB, free: 4.156 MB / 0.8575 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.0003597/0.8416, allocations: 335.2 kB / 1.089 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.8416, allocations: 9.125 kB / 1.089 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.362e-05/0.8417, allocations: 32.84 kB / 1.089 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.347e-05/0.8417, allocations: 9.938 kB / 1.089 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.646e-05/0.8418, allocations: 171.6 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.8418, allocations: 384 / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.8418, allocations: 2.562 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.842, allocations: 48.19 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.842, allocations: 4.547 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.842, allocations: 1.125 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.842, allocations: 0 / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.8422, allocations: 37.08 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.8425, allocations: 250 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.8426, allocations: 44.53 kB / 1.09 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.572e-05/0.8427, allocations: 23.09 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.8427, allocations: 1.922 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.8428, allocations: 44.66 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8428, allocations: 0 / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000341/0.8431, allocations: 79.75 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.8431, allocations: 51.41 kB / 1.09 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.111e-05/0.8432, allocations: 101.6 kB / 1.09 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.8432, allocations: 26.62 kB / 1.09 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.326e-05/0.8432, allocations: 89.36 kB / 1.09 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.8433, allocations: 9.703 kB / 1.09 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.8433, allocations: 12.14 kB / 1.09 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.349e-05/0.8433, allocations: 312.6 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.8434, allocations: 18.39 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.421e-05/0.8435, allocations: 15.3 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.8437, allocations: 44.88 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8437, allocations: 3.938 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001919/0.8439, allocations: 71.45 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.8439, allocations: 9.125 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.8439, allocations: 0 / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.8439, allocations: 1.516 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.844, allocations: 12.81 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.844, allocations: 0.9062 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.822e-05/0.8441, allocations: 5.672 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.8441, allocations: 0.8125 kB / 1.091 GB, free: 2.391 MB / 0.8575 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.761e-05/0.8442, allocations: 112 kB / 1.091 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.8442, allocations: 2.297 kB / 1.091 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.8444, allocations: 78.98 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.8444, allocations: 0.9062 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.8444, allocations: 0 / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.8444, allocations: 1.859 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.8446, allocations: 159.2 kB / 1.091 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8446, allocations: 0.6562 kB / 1.091 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.934e-05/0.8446, allocations: 7.969 kB / 1.091 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.8446, allocations: 1.094 kB / 1.091 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.8447, allocations: 4.562 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.8447, allocations: 1.188 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8447, allocations: 4.547 kB / 1.091 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.8449, allocations: 162.6 kB / 1.091 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.8449, allocations: 82.38 kB / 1.091 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.8449, allocations: 1.703 kB / 1.091 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.802e-05/0.845, allocations: 5.875 kB / 1.091 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.8451, allocations: 6.484 kB / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.8451, allocations: 5.031 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.299e-05/0.8451, allocations: 87.86 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8451, allocations: 0 / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002145/0.8453, allocations: 3.562 kB / 1.092 GB, free: 1.691 MB / 0.8575 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.000469/0.8458, allocations: 0.6973 MB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.846, allocations: 35.06 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.846, allocations: 1.125 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.887e-05/0.8461, allocations: 23.59 kB / 1.092 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.8464, allocations: 6.953 kB / 1.092 GB, free: 17 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.8468, allocations: 133.5 kB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.8471, allocations: 0.6756 MB / 1.093 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.305e-05/0.8472, allocations: 5.562 kB / 1.093 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.8472, allocations: 13.31 kB / 1.093 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.8472, allocations: 0 / 1.093 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.8651, allocations: 1.272 MB / 1.094 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/8.482, allocations: 12.12 kB / 1.094 GB, free: 15.77 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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