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.001624/0.001624, allocations: 110.3 kB / 18.94 MB, free: 2.789 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.002112/0.002112, allocations: 215.8 kB / 22.25 MB, free: 5.215 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 / 256 MB, free: 8.008 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.312/3.312, allocations: 0.49 GB / 0.7951 GB, free: 33.3 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="me",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="me",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.002776/0.002776, allocations: 68.03 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3943, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002025/0.3964, allocations: 0.591 MB / 1.327 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.197e-05/0.3964, allocations: 0 / 1.327 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.3964, allocations: 7.938 kB / 1.327 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.3964, allocations: 0 / 1.327 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.725e-05/0.3965, allocations: 3.938 kB / 1.327 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.067e-05/0.3965, allocations: 0 / 1.327 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.505e-05/0.3966, allocations: 11.98 kB / 1.327 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.617e-05/0.3966, allocations: 0 / 1.327 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.798e-05/0.3967, allocations: 4 kB / 1.327 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.918e-05/0.3967, allocations: 0 / 1.327 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.3967, allocations: 0 / 1.327 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.3967, allocations: 0 / 1.327 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.3967, allocations: 0 / 1.327 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.3967, allocations: 3.938 kB / 1.327 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.545e-05/0.3968, allocations: 3.984 kB / 1.327 GB, free: 1.336 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3968, allocations: 4 kB / 1.327 GB, free: 1.332 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3968, allocations: 0 / 1.327 GB, free: 1.332 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3968, allocations: 4 kB / 1.327 GB, free: 1.328 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.0003167/0.3971, allocations: 242.7 kB / 1.327 GB, free: 1.059 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3972, allocations: 8.031 kB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.3972, allocations: 30.75 kB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.944e-05/0.3972, allocations: 0.9375 kB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.3973, allocations: 106.5 kB / 1.327 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.3974, allocations: 384 / 1.327 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-06/0.3974, allocations: 384 / 1.327 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.296e-05/0.3975, allocations: 38.19 kB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.3975, allocations: 3.938 kB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.3975, allocations: 4 kB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3975, allocations: 3.984 kB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.922e-05/0.3975, allocations: 4 kB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.3979, allocations: 346.6 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.398, allocations: 185.4 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.398, allocations: 80.14 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.3981, allocations: 75.28 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.725e-05/0.3981, allocations: 109.9 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3981, allocations: 0 / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.508e-05/0.3982, allocations: 33.67 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.3983, allocations: 130.7 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.223e-05/0.3984, allocations: 97.86 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.3984, allocations: 25.7 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.3984, allocations: 84.08 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.3984, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.3985, allocations: 17.7 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3986, allocations: 310.8 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-06/0.3986, allocations: 3.938 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-06/0.3986, allocations: 4.125 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.97e-05/0.3986, allocations: 75.28 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.953e-05/0.3987, allocations: 79.22 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.717e-05/0.3987, allocations: 33.7 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.3988, allocations: 79.28 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/0.3988, allocations: 83.22 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.363e-05/0.3989, allocations: 154.6 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.173e-05/0.3989, allocations: 83.27 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.408e-05/0.399, allocations: 154.5 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-05/0.399, allocations: 75.28 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.3991, allocations: 79.22 kB / 1.329 GB, free: 14.34 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.0001324/0.3992, allocations: 268.9 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.3993, allocations: 101 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.548e-05/0.3993, allocations: 112.1 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.185e-05/0.3994, allocations: 184.2 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.197e-05/0.3995, allocations: 176.3 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.602e-05/0.3996, allocations: 180.2 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.3998, allocations: 380.2 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-05/0.3998, allocations: 112.9 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.3999, allocations: 101 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.159e-05/0.4, allocations: 176.3 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.617e-05/0.4, allocations: 188.2 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-05/0.4001, allocations: 180.6 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-05/0.4002, allocations: 180.2 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.4003, allocations: 311.8 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.4004, allocations: 112.9 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-05/0.4005, allocations: 176.3 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.4006, allocations: 108.9 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.109e-05/0.4007, allocations: 180.3 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/0.4007, allocations: 105 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.248e-05/0.4007, allocations: 79.28 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4007, allocations: 0 / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002504/0.401, allocations: 0 / 1.333 GB, free: 10.79 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.000511/0.4015, allocations: 0.8127 MB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.219e-05/0.4015, allocations: 0 / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4016, allocations: 0 / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.4016, allocations: 0 / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.402, allocations: 471.6 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.4032, allocations: 1.536 MB / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.4035, allocations: 0.669 MB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.945e-06/0.4035, allocations: 0 / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.4035, allocations: 7.438 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4035, allocations: 0 / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.4324, allocations: 1.02 MB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.51, allocations: 3.109 kB / 1.337 GB, free: 6.285 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.484416995896026]