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.005573/0.005573, allocations: 101.6 kB / 15.73 MB, free: 6.043 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.001317/0.001317, allocations: 201.2 kB / 16.68 MB, free: 5.961 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.164/2.164, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.91 kB / 0.9504 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7798/0.7813, allocations: 140.4 MB / 1.088 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001701/0.783, allocations: 0.6601 MB / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007739/0.7838, allocations: 0.8059 MB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.7839, allocations: 0 / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.7839, allocations: 0 / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.57e-05/0.784, allocations: 5.781 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.7841, allocations: 11.8 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.7842, allocations: 25.59 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.7843, allocations: 12.5 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.335e-05/0.7843, allocations: 9.453 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.783e-05/0.7844, allocations: 9.125 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.7844, allocations: 2.469 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-06/0.7844, allocations: 1.5 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.7844, allocations: 7.047 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.7845, allocations: 11.05 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.91e-05/0.7846, allocations: 25.09 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7846, allocations: 4 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7846, allocations: 0 / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.7846, allocations: 0 / 1.089 GB, free: 4.16 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.0003684/0.785, allocations: 334.9 kB / 1.089 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.785, allocations: 10 kB / 1.089 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/0.7851, allocations: 40.62 kB / 1.089 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.999e-05/0.7851, allocations: 6.156 kB / 1.089 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.333e-05/0.7852, allocations: 167.5 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.7852, allocations: 384 / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-06/0.7852, allocations: 6.5 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.7853, allocations: 48.62 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.7854, allocations: 3.938 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.7854, allocations: 5.297 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.7854, allocations: 0 / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.7856, allocations: 32.61 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.7858, allocations: 250.4 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.786, allocations: 44.44 kB / 1.09 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-05/0.7861, allocations: 24.02 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.7861, allocations: 1.062 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.7861, allocations: 32.22 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.7861, allocations: 4 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003576/0.7865, allocations: 83.34 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.7865, allocations: 53.09 kB / 1.09 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.276e-05/0.7866, allocations: 96.56 kB / 1.09 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.7866, allocations: 29.7 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.7866, allocations: 85.77 kB / 1.09 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.7866, allocations: 9.641 kB / 1.09 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.7867, allocations: 13.03 kB / 1.09 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.7867, allocations: 317.1 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.18e-05/0.7868, allocations: 14.2 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.55e-05/0.7869, allocations: 17.78 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.787, allocations: 42.08 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7871, allocations: 3.938 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/0.7872, allocations: 75.02 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.7873, allocations: 5.5 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.7873, allocations: 0.7969 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.7873, allocations: 1.188 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.7874, allocations: 7.672 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.7874, allocations: 6.203 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.7874, allocations: 9.203 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.7875, allocations: 0.8125 kB / 1.091 GB, free: 2.395 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.87e-05/0.7875, allocations: 120.7 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.7875, allocations: 1.203 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.7878, allocations: 71.64 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.7878, allocations: 32 / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7878, allocations: 4.797 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.7878, allocations: 0.75 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.7879, allocations: 159.7 kB / 1.091 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.7879, allocations: 0 / 1.091 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.817e-05/0.788, allocations: 9.797 kB / 1.091 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.788, allocations: 0 / 1.091 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.788, allocations: 5.375 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.788, allocations: 4 kB / 1.091 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.788, allocations: 0.5156 kB / 1.091 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.7882, allocations: 163 kB / 1.091 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.7883, allocations: 83.27 kB / 1.091 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.7883, allocations: 0 / 1.091 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.7884, allocations: 7.266 kB / 1.091 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.7884, allocations: 10.16 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.7884, allocations: 0 / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.198e-05/0.7884, allocations: 84.19 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.7884, allocations: 0 / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002372/0.7887, allocations: 4.281 kB / 1.092 GB, free: 1.695 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.0004991/0.7892, allocations: 0.6963 MB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.7894, allocations: 40.14 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7894, allocations: 0 / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.831e-05/0.7895, allocations: 20.27 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.0003002/0.7898, allocations: 9.578 kB / 1.092 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.7902, allocations: 138.2 kB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.7905, allocations: 0.6795 MB / 1.093 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.295e-05/0.7905, allocations: 2.203 kB / 1.093 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.7906, allocations: 12.53 kB / 1.093 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.7906, allocations: 0 / 1.093 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.8096, allocations: 1.282 MB / 1.094 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.562, allocations: 7.562 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 & /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