Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.0109/0.0109, allocations: 104.8 kB / 15.74 MB, free: 6.059 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.002226/0.002226, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.743/1.743, 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.712/2.712, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 63.89 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.099, allocations: 140.4 MB / 1.088 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.002561/1.102, allocations: 0.7171 MB / 1.088 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001286/1.103, allocations: 0.798 MB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/1.103, allocations: 1.031 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.797e-05/1.103, allocations: 4.453 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.62e-05/1.103, allocations: 9.688 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/1.103, allocations: 13.66 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/1.104, allocations: 43.56 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/1.104, allocations: 10.48 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/1.104, allocations: 24.97 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.016e-05/1.104, allocations: 18.84 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/1.104, allocations: 3.406 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/1.104, allocations: 4.469 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/1.104, allocations: 7.516 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/1.104, allocations: 19.86 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/1.104, allocations: 42.23 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.104, allocations: 0 / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.717e-06/1.104, allocations: 0 / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.037e-06/1.104, allocations: 2.391 kB / 1.089 GB, free: 4.125 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006719/1.105, allocations: 366.5 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.432e-05/1.105, allocations: 9.281 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/1.105, allocations: 32.56 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/1.105, allocations: 14.38 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/1.105, allocations: 168.2 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/1.105, allocations: 5.625 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/1.105, allocations: 2.062 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/1.106, allocations: 68.83 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/1.106, allocations: 4.734 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/1.106, allocations: 1.25 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/1.106, allocations: 3.938 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/1.106, allocations: 70.55 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/1.106, allocations: 274.5 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/1.107, allocations: 50.52 kB / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/1.107, allocations: 49.36 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/1.107, allocations: 0 / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/1.107, allocations: 31.56 kB / 1.09 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/1.107, allocations: 0 / 1.09 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006986/1.108, allocations: 133.3 kB / 1.09 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/1.108, allocations: 51.41 kB / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.198e-05/1.108, allocations: 107.3 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/1.108, allocations: 27.67 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/1.108, allocations: 86.06 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/1.108, allocations: 13.7 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/1.108, allocations: 17.52 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.001e-05/1.108, allocations: 317.8 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/1.108, allocations: 30.75 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/1.108, allocations: 31.64 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/1.109, allocations: 73.78 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.109, allocations: 1.281 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003597/1.109, allocations: 97.44 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.109, allocations: 5.891 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.109, allocations: 0 / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/1.109, allocations: 1.031 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/1.109, allocations: 22.83 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/1.109, allocations: 1.891 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.031e-05/1.109, allocations: 11.27 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/1.109, allocations: 0.6875 kB / 1.091 GB, free: 2.301 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 (3): * Single equations (assignments): 3 * 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 6.971e-05/1.109, allocations: 113 kB / 1.091 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/1.109, allocations: 14.09 kB / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/1.109, allocations: 9.281 kB / 1.091 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/1.11, allocations: 5.312 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.11, allocations: 0.7812 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/1.11, allocations: 0 / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/1.11, allocations: 170.8 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/1.11, allocations: 0.9375 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/1.11, allocations: 22.77 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.11, allocations: 1.422 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/1.11, allocations: 0.75 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.11, allocations: 0.75 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.11, allocations: 0 / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/1.11, allocations: 198.9 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/1.11, allocations: 82.41 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/1.11, allocations: 4.625 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/1.11, allocations: 12.38 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/1.11, allocations: 7.219 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/1.11, allocations: 1.188 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.953e-05/1.111, allocations: 92.75 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.111, allocations: 0 / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002281/1.111, allocations: 6.125 kB / 1.092 GB, free: 1.613 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 (3): * Single equations (assignments): 3 * 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.000783/1.112, allocations: 0.7314 MB / 1.093 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004237/1.112, allocations: 70.61 kB / 1.093 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.112, allocations: 1.438 kB / 1.093 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/1.112, allocations: 41.31 kB / 1.093 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/1.113, allocations: 7.375 kB / 1.093 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/1.113, allocations: 152 kB / 1.093 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/1.113, allocations: 0.6808 MB / 1.094 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.925e-05/1.113, allocations: 4.875 kB / 1.094 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/1.114, allocations: 14.48 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/1.114, allocations: 0.8438 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.178/2.291, allocations: 1.632 MB / 1.095 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.33/18.62, allocations: 8.203 kB / 1.095 GB, free: 15.65 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches