Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.001286/0.001286, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001443/0.001443, allocations: 220.7 kB / 23.03 MB, free: 4.941 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.258/3.258, allocations: 0.49 GB / 0.7959 GB, free: 35.69 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Sources.Validation.Constant,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",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.002037/0.002037, allocations: 64.19 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.401, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002175/0.4032, allocations: 0.5834 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.734e-05/0.4033, allocations: 4 kB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.4033, allocations: 4 kB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.4033, allocations: 0 / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.752e-05/0.4033, allocations: 4 kB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.203e-05/0.4034, allocations: 0 / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.573e-05/0.4034, allocations: 0 / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.432e-05/0.4035, allocations: 0 / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.7e-05/0.4035, allocations: 7.938 kB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.95e-05/0.4035, allocations: 3.984 kB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.4035, allocations: 3.938 kB / 1.327 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.987e-06/0.4035, allocations: 0 / 1.327 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.4035, allocations: 0 / 1.327 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.4036, allocations: 0 / 1.327 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.251e-05/0.4036, allocations: 7.984 kB / 1.327 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4036, allocations: 8 kB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4036, allocations: 0 / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.4036, allocations: 0 / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003067/0.4039, allocations: 234.7 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.404, allocations: 8.031 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.713e-05/0.404, allocations: 8.062 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.196e-05/0.404, allocations: 30.75 kB / 1.328 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.983e-05/0.4041, allocations: 4.938 kB / 1.328 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.4042, allocations: 110.5 kB / 1.328 GB, free: 448 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.4042, allocations: 384 / 1.328 GB, free: 448 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.4042, allocations: 384 / 1.328 GB, free: 448 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.372e-05/0.4043, allocations: 38.02 kB / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.4043, allocations: 0 / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.4043, allocations: 0 / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.4043, allocations: 0 / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.448e-05/0.4043, allocations: 3.938 kB / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.4047, allocations: 362.5 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.4048, allocations: 165.5 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.328e-05/0.4049, allocations: 80.14 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.4049, allocations: 83.2 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.084e-05/0.405, allocations: 113.8 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.405, allocations: 4 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.942e-05/0.4051, allocations: 29.73 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.4051, allocations: 126.7 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.4052, allocations: 97.84 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.4053, allocations: 25.7 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/0.4053, allocations: 80.14 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.4053, allocations: 4 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.4053, allocations: 13.72 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4055, allocations: 310.8 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-06/0.4055, allocations: 4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.219e-06/0.4055, allocations: 8.062 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.922e-05/0.4055, allocations: 83.22 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-05/0.4056, allocations: 75.28 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.424e-05/0.4056, allocations: 25.7 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.429e-05/0.4057, allocations: 83.28 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.503e-05/0.4057, allocations: 79.27 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.039e-05/0.4058, allocations: 154.5 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.441e-05/0.4058, allocations: 79.28 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.666e-05/0.4059, allocations: 158.5 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.838e-05/0.406, allocations: 75.28 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.406, allocations: 79.22 kB / 1.33 GB, free: 13.91 MB / 1.029 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 (0): * Single equations (assignments): 0 * 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.0001447/0.4062, allocations: 272.8 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.792e-05/0.4063, allocations: 105 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.596e-05/0.4063, allocations: 108.1 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.806e-05/0.4064, allocations: 184.2 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.154e-05/0.4065, allocations: 176.3 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.375e-05/0.4066, allocations: 184.2 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.4069, allocations: 376.2 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.873e-05/0.4069, allocations: 113 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.941e-05/0.407, allocations: 104.9 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.399e-05/0.4071, allocations: 176.3 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.353e-05/0.4072, allocations: 192.2 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.307e-05/0.4072, allocations: 176.6 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-05/0.4073, allocations: 176.3 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.4075, allocations: 315.7 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.008e-05/0.4076, allocations: 108.9 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-05/0.4077, allocations: 176.3 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.422e-05/0.4077, allocations: 109 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.786e-05/0.4078, allocations: 180.2 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.764e-05/0.4079, allocations: 105 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.517e-05/0.4079, allocations: 83.28 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4079, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002631/0.4082, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 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 (0): * Single equations (assignments): 0 * 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.0005265/0.4087, allocations: 0.8087 MB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.608e-05/0.4088, allocations: 4 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4088, allocations: 0 / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.4088, allocations: 0 / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.4092, allocations: 459.7 kB / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.4105, allocations: 1.54 MB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.36e-05/0.4106, allocations: 55.36 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.157e-06/0.4106, allocations: 0 / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.4106, allocations: 7.438 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4106, allocations: 0 / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.4317, allocations: 1.076 MB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.77, allocations: 4.328 kB / 1.337 GB, free: 6.426 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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: 18.79539336403832]