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.009904/0.009904, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.002126/0.002126, allocations: 201.9 kB / 16.68 MB, free: 5.977 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.659/1.659, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.798/2.798, allocations: 390.3 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 69 kB / 0.9505 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4347, allocations: 140.4 MB / 1.088 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.003204/0.438, allocations: 0.6591 MB / 1.088 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.4399, allocations: 0.8082 MB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.44, allocations: 0 / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.498e-05/0.4401, allocations: 3.938 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.4402, allocations: 7.922 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.4404, allocations: 11.98 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.4405, allocations: 19.98 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.4407, allocations: 7.938 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.183e-05/0.4408, allocations: 15.92 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.871e-05/0.4408, allocations: 15.94 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.4409, allocations: 0 / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.4409, allocations: 4 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.4409, allocations: 3.984 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.441, allocations: 11.92 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.4411, allocations: 15.97 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4411, allocations: 0 / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of FrontEnd: time 4.369e-06/0.4411, allocations: 4 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.4411, allocations: 0 / 1.089 GB, free: 332 kB / 0.8419 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.0006911/0.4418, allocations: 338.4 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.4419, allocations: 8.031 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.4419, allocations: 30.75 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.442, allocations: 16.77 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.4422, allocations: 168.4 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.4422, allocations: 384 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.4422, allocations: 4.375 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.4425, allocations: 50.17 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4425, allocations: 7.938 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.4426, allocations: 4 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.4426, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/0.4428, allocations: 27.97 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.4434, allocations: 245 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.4436, allocations: 46.44 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.4437, allocations: 24.84 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.4438, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.4438, allocations: 34.56 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4438, allocations: 0 / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005231/0.4444, allocations: 81.73 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.4444, allocations: 51.41 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.4446, allocations: 105.8 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.4446, allocations: 25.7 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.4447, allocations: 84.05 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.4447, allocations: 4.562 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.4448, allocations: 13.72 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4449, allocations: 314.8 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.4451, allocations: 23.95 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.4452, allocations: 15.98 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.4454, allocations: 36.81 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.4454, allocations: 3.938 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003028/0.4458, allocations: 73.64 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.4458, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4458, allocations: 4 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.4458, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.446, allocations: 7.984 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.446, allocations: 3.984 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.333e-05/0.4461, allocations: 11.92 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.4461, allocations: 0 / 1.091 GB, free: 14.26 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 0.0001246/0.4462, allocations: 118.1 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.4463, allocations: 3.938 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000496/0.4468, allocations: 72.78 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4468, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.4468, allocations: 4 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4468, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.4471, allocations: 165.5 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.4471, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.61e-05/0.4472, allocations: 16.02 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.4473, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.4473, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4473, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4473, allocations: 192 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.4477, allocations: 167.4 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.449e-05/0.4478, allocations: 89.03 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.4478, allocations: 0 / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.4479, allocations: 7.984 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.448, allocations: 7.938 kB / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.448, allocations: 0 / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.364e-05/0.4481, allocations: 83.28 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4481, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004648/0.4486, allocations: 4 kB / 1.092 GB, free: 13.43 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.0008432/0.4494, allocations: 0.7006 MB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.4498, allocations: 35.97 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4498, allocations: 4.094 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.4499, allocations: 15.98 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005869/0.4505, allocations: 9.703 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007229/0.4513, allocations: 135.2 kB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.4516, allocations: 0.6729 MB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.642e-05/0.4517, allocations: 7.984 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.4517, allocations: 11.5 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of SimCode: time 4.2e-07/0.4517, allocations: 0 / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4118/0.8636, allocations: 1.273 MB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/16.7, allocations: 9.094 kB / 1.094 GB, free: 10.56 MB / 0.8575 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