Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 116.8 kB / 17.17 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002058/0.002058, allocations: 214.3 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.7 MB / 0.7678 GB, free: 9.367 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 68.19 kB / 1.113 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159/1.161, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002185/1.163, allocations: 0.7054 MB / 1.28 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001204/1.165, allocations: 0.8335 MB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.199e-05/1.165, allocations: 0 / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/1.165, allocations: 4.641 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.16e-05/1.165, allocations: 11.05 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.495e-05/1.165, allocations: 13.66 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/1.165, allocations: 42.89 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/1.165, allocations: 13.28 kB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.412e-05/1.165, allocations: 17.7 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/1.165, allocations: 23.17 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/1.165, allocations: 7.219 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-06/1.165, allocations: 4.219 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/1.165, allocations: 6.938 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/1.165, allocations: 17.23 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/1.165, allocations: 46.23 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.165, allocations: 0 / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/1.165, allocations: 1.344 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.002e-05/1.165, allocations: 0 / 1.281 GB, free: 10.54 MB / 0.9981 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.0006032/1.166, allocations: 368.2 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/1.166, allocations: 10.06 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.536e-05/1.166, allocations: 1.312 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/1.166, allocations: 36.55 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/1.166, allocations: 3 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/1.166, allocations: 176.1 kB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/1.166, allocations: 1.438 kB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/1.166, allocations: 2.438 kB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/1.167, allocations: 76.47 kB / 1.281 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/1.167, allocations: 7.922 kB / 1.281 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/1.167, allocations: 0 / 1.281 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/1.167, allocations: 5.484 kB / 1.281 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/1.167, allocations: 62.56 kB / 1.281 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/1.167, allocations: 266.1 kB / 1.282 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/1.168, allocations: 59.31 kB / 1.282 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/1.168, allocations: 42.08 kB / 1.282 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/1.168, allocations: 1.797 kB / 1.282 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/1.168, allocations: 31.75 kB / 1.282 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/1.168, allocations: 0 / 1.282 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005986/1.168, allocations: 132 kB / 1.282 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/1.168, allocations: 52.5 kB / 1.282 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/1.168, allocations: 114.8 kB / 1.282 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/1.169, allocations: 26.23 kB / 1.282 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/1.169, allocations: 91.73 kB / 1.282 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/1.169, allocations: 5.719 kB / 1.282 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/1.169, allocations: 16.95 kB / 1.282 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.169, allocations: 321.9 kB / 1.283 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/1.169, allocations: 35.12 kB / 1.283 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/1.169, allocations: 31.88 kB / 1.283 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/1.169, allocations: 69.55 kB / 1.283 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.169, allocations: 0.5 kB / 1.283 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004176/1.17, allocations: 97.92 kB / 1.283 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/1.17, allocations: 5.969 kB / 1.283 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.17, allocations: 0.5312 kB / 1.283 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/1.17, allocations: 8.5 kB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/1.17, allocations: 15.34 kB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.17, allocations: 0.5312 kB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.864e-05/1.17, allocations: 15.77 kB / 1.283 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/1.17, allocations: 0.5312 kB / 1.283 GB, free: 8.707 MB / 0.9981 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 9.27e-05/1.17, allocations: 116.6 kB / 1.283 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/1.17, allocations: 2.625 kB / 1.283 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/1.17, allocations: 9.703 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.17, allocations: 1.094 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.17, allocations: 0.7031 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/1.17, allocations: 0.5312 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/1.171, allocations: 174.6 kB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.171, allocations: 0.9844 kB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/1.171, allocations: 15.47 kB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/1.171, allocations: 0.5938 kB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/1.171, allocations: 1.203 kB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.171, allocations: 0.5312 kB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.171, allocations: 4.531 kB / 1.283 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/1.171, allocations: 202.6 kB / 1.283 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/1.171, allocations: 82.88 kB / 1.283 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/1.171, allocations: 4 kB / 1.283 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/1.171, allocations: 16.58 kB / 1.283 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/1.171, allocations: 7.641 kB / 1.283 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/1.171, allocations: 4.906 kB / 1.283 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.544e-05/1.171, allocations: 87.44 kB / 1.284 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.171, allocations: 1.125 kB / 1.284 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002152/1.172, allocations: 5.656 kB / 1.284 GB, free: 8.02 MB / 0.9981 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.0007969/1.172, allocations: 0.7283 MB / 1.284 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003708/1.173, allocations: 73.08 kB / 1.284 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.173, allocations: 0 / 1.284 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/1.173, allocations: 35.56 kB / 1.284 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/1.173, allocations: 6.469 kB / 1.284 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/1.174, allocations: 156.8 kB / 1.284 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/1.174, allocations: 0.6848 MB / 1.285 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.016e-05/1.174, allocations: 1.469 kB / 1.285 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/1.174, allocations: 17.69 kB / 1.285 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/1.174, allocations: 0 / 1.285 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/1.193, allocations: 1.677 MB / 1.287 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.241/9.433, allocations: 5.125 kB / 1.287 GB, free: 6.031 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.004797431989573]