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.001548/0.001548, allocations: 103 kB / 16.45 MB, free: 6.449 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.001567/0.001567, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.47/1.47, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.179/3.179, allocations: 0.49 GB / 0.7916 GB, free: 33.41 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.003014/0.003014, allocations: 76.16 kB / 1.149 GB, free: 26.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3752, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002081/0.3773, allocations: 0.5792 MB / 1.321 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.088e-05/0.3773, allocations: 4 kB / 1.321 GB, free: 2.766 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.952e-05/0.3773, allocations: 4 kB / 1.321 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.3774, allocations: 0 / 1.321 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.757e-05/0.3774, allocations: 0 / 1.321 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.703e-05/0.3774, allocations: 3.984 kB / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.865e-05/0.3775, allocations: 0 / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.085e-05/0.3775, allocations: 4 kB / 1.321 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.66e-05/0.3776, allocations: 7.984 kB / 1.321 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.008e-05/0.3776, allocations: 0 / 1.321 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.3776, allocations: 3.938 kB / 1.321 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.828e-06/0.3776, allocations: 0 / 1.321 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.3776, allocations: 0 / 1.321 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.3776, allocations: 3.938 kB / 1.321 GB, free: 2.738 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 7.084e-05/0.3777, allocations: 8 kB / 1.321 GB, free: 2.73 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3777, allocations: 0 / 1.321 GB, free: 2.73 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3777, allocations: 0 / 1.321 GB, free: 2.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3777, allocations: 0 / 1.321 GB, free: 2.73 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.0003324/0.378, allocations: 319.8 kB / 1.322 GB, free: 2.367 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3781, allocations: 15.92 kB / 1.322 GB, free: 2.352 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.3781, allocations: 30.75 kB / 1.322 GB, free: 2.312 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.867e-05/0.3781, allocations: 0.9375 kB / 1.322 GB, free: 2.312 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.3783, allocations: 160.4 kB / 1.322 GB, free: 2.117 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.3783, allocations: 4.375 kB / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.3783, allocations: 384 / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.858e-05/0.3784, allocations: 38.23 kB / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3784, allocations: 3.938 kB / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.3784, allocations: 4 kB / 1.322 GB, free: 2.062 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3784, allocations: 0 / 1.322 GB, free: 2.062 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.772e-05/0.3784, allocations: 7.938 kB / 1.322 GB, free: 2.055 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.3788, allocations: 383.5 kB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.3789, allocations: 169.1 kB / 1.323 GB, free: 1.453 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.232e-05/0.3789, allocations: 84.14 kB / 1.323 GB, free: 1.367 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.379, allocations: 75.28 kB / 1.323 GB, free: 1.293 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/0.379, allocations: 109.8 kB / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.379, allocations: 0 / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.389e-05/0.3791, allocations: 33.64 kB / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/0.3792, allocations: 131.1 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.932e-05/0.3793, allocations: 101.8 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.3793, allocations: 25.7 kB / 1.323 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.3793, allocations: 80.14 kB / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.3794, allocations: 0 / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.3794, allocations: 9.719 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3795, allocations: 314.8 kB / 1.323 GB, free: 452 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-06/0.3795, allocations: 0 / 1.323 GB, free: 452 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-06/0.3795, allocations: 4 kB / 1.323 GB, free: 448 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.3796, allocations: 79.34 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.903e-05/0.3796, allocations: 83.22 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.78e-05/0.3797, allocations: 29.7 kB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.3797, allocations: 83.28 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.599e-05/0.3797, allocations: 75.28 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.964e-05/0.3798, allocations: 158.5 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.116e-05/0.3799, allocations: 75.28 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.708e-05/0.38, allocations: 162.5 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.592e-05/0.38, allocations: 75.28 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.3801, allocations: 79.28 kB / 1.324 GB, free: 15.54 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.000142/0.3802, allocations: 260.3 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.97e-05/0.3803, allocations: 112.9 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.528e-05/0.3803, allocations: 104.1 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-05/0.3804, allocations: 184.2 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-05/0.3805, allocations: 184.3 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.816e-05/0.3806, allocations: 180.2 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.381, allocations: 405.1 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-05/0.381, allocations: 105 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.828e-05/0.3811, allocations: 112.9 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.4e-05/0.3812, allocations: 180.3 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.571e-05/0.3813, allocations: 184.2 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.768e-05/0.3814, allocations: 184.5 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.188e-05/0.3814, allocations: 176.3 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.3816, allocations: 319.7 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.3817, allocations: 182 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.212e-05/0.3818, allocations: 176.3 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.432e-05/0.3819, allocations: 108.9 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.34e-05/0.382, allocations: 180.2 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/0.382, allocations: 113 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.382, allocations: 79.28 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.382, allocations: 0 / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002584/0.3823, allocations: 0 / 1.328 GB, free: 11.86 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.0005124/0.3828, allocations: 0.8127 MB / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 3.96e-05/0.3829, allocations: 0 / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.3829, allocations: 4 kB / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.3829, allocations: 0 / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.3832, allocations: 451.7 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.3845, allocations: 1.544 MB / 1.33 GB, free: 8.949 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.3848, allocations: 0.6728 MB / 1.331 GB, free: 8.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.835e-06/0.3848, allocations: 0 / 1.331 GB, free: 8.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.3848, allocations: 7.438 kB / 1.331 GB, free: 8.242 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.3848, allocations: 0 / 1.331 GB, free: 8.242 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.4071, allocations: 0.9314 MB / 1.332 GB, free: 7.418 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.85/8.257, allocations: 22.62 kB / 1.332 GB, free: 7.398 MB / 1.029 GB " [Timeout remaining time 292] (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: 14.845704592065886]