Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.002077/0.002077, allocations: 104.7 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.00247/0.00247, allocations: 210.4 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.514/1.514, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.259/3.259, allocations: 0.49 GB / 0.7916 GB, free: 33.5 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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_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.002059/0.002059, allocations: 74 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3901, allocations: 176.1 MB / 1.321 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001955/0.392, allocations: 0.5453 MB / 1.321 GB, free: 2.766 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.004e-05/0.3921, allocations: 3.938 kB / 1.321 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.3921, allocations: 4 kB / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.741e-05/0.3921, allocations: 0 / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.591e-05/0.3922, allocations: 0 / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.55e-05/0.3922, allocations: 8 kB / 1.321 GB, free: 2.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.866e-05/0.3922, allocations: 0 / 1.321 GB, free: 2.75 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.633e-05/0.3923, allocations: 0 / 1.321 GB, free: 2.75 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.688e-05/0.3923, allocations: 0 / 1.321 GB, free: 2.75 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.382e-05/0.3923, allocations: 7.938 kB / 1.321 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3924, allocations: 3.984 kB / 1.321 GB, free: 2.738 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.557e-06/0.3924, allocations: 0 / 1.321 GB, free: 2.738 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.3924, allocations: 0 / 1.321 GB, free: 2.738 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.3924, allocations: 4 kB / 1.321 GB, free: 2.734 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.095e-05/0.3925, allocations: 3.984 kB / 1.321 GB, free: 2.73 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3925, allocations: 0 / 1.321 GB, free: 2.73 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3925, allocations: 0 / 1.321 GB, free: 2.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.3925, allocations: 4 kB / 1.321 GB, free: 2.727 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.0003662/0.3928, allocations: 311.8 kB / 1.322 GB, free: 2.371 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.3929, allocations: 16.02 kB / 1.322 GB, free: 2.355 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.3929, allocations: 38.67 kB / 1.322 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.726e-05/0.3929, allocations: 0.9375 kB / 1.322 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.3931, allocations: 160.4 kB / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3931, allocations: 4.375 kB / 1.322 GB, free: 2.109 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-06/0.3931, allocations: 384 / 1.322 GB, free: 2.109 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.3932, allocations: 30.27 kB / 1.322 GB, free: 2.074 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3932, allocations: 7.922 kB / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.3932, allocations: 3.938 kB / 1.322 GB, free: 2.062 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3932, allocations: 0 / 1.322 GB, free: 2.062 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.773e-05/0.3932, allocations: 4 kB / 1.322 GB, free: 2.059 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.3936, allocations: 391.4 kB / 1.322 GB, free: 1.625 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.3937, allocations: 173.1 kB / 1.322 GB, free: 1.445 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.3938, allocations: 80.14 kB / 1.323 GB, free: 1.363 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.3938, allocations: 79.22 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.807e-05/0.3939, allocations: 105.8 kB / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.422e-06/0.3939, allocations: 4 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.945e-05/0.394, allocations: 33.62 kB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.3941, allocations: 127.1 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.374e-05/0.3942, allocations: 97.86 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.3942, allocations: 25.7 kB / 1.323 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.3943, allocations: 84.14 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.3943, allocations: 0 / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.3944, allocations: 13.84 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3945, allocations: 310.8 kB / 1.323 GB, free: 448 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.728e-06/0.3946, allocations: 0 / 1.323 GB, free: 448 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.446e-06/0.3946, allocations: 0 / 1.323 GB, free: 448 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.812e-05/0.3946, allocations: 79.27 kB / 1.323 GB, free: 368 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.431e-05/0.3946, allocations: 87.22 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.904e-05/0.3947, allocations: 37.64 kB / 1.324 GB, free: 236 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/0.3948, allocations: 81.47 kB / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.433e-05/0.3948, allocations: 83.28 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001318/0.3949, allocations: 150.6 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.494e-05/0.395, allocations: 79.22 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-05/0.395, allocations: 150.6 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.269e-05/0.3951, allocations: 83.22 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/0.3952, allocations: 79.27 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.0001581/0.3953, allocations: 268.3 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-05/0.3954, allocations: 108.9 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.841e-05/0.3955, allocations: 104.1 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-05/0.3955, allocations: 176.3 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.206e-05/0.3956, allocations: 184.2 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.968e-05/0.3957, allocations: 188.3 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.396, allocations: 401.1 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-05/0.3961, allocations: 108.9 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.403e-05/0.3961, allocations: 101 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.415e-05/0.3962, allocations: 184.2 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.594e-05/0.3963, allocations: 184.3 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.282e-05/0.3964, allocations: 184.5 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.918e-05/0.3965, allocations: 176.3 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.3967, allocations: 315.7 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.3968, allocations: 182.1 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-05/0.3969, allocations: 188.2 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.66e-05/0.397, allocations: 101 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-05/0.3971, allocations: 176.3 kB / 1.327 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.117e-05/0.3971, allocations: 108.9 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.691e-05/0.3972, allocations: 83.22 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3972, allocations: 0 / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002635/0.3975, 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.000537/0.398, allocations: 0.8127 MB / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 5.806e-05/0.398, allocations: 3.938 kB / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3981, allocations: 0 / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.3981, 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.0004203/0.3985, allocations: 459.7 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.3998, allocations: 1.524 MB / 1.33 GB, free: 8.961 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.4001, allocations: 0.6729 MB / 1.331 GB, free: 8.262 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.817e-06/0.4001, allocations: 4 kB / 1.331 GB, free: 8.258 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.4002, allocations: 7.438 kB / 1.331 GB, free: 8.25 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4002, allocations: 4 kB / 1.331 GB, free: 8.246 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.4253, allocations: 0.9237 MB / 1.332 GB, free: 7.434 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/8.39, allocations: 1.203 kB / 1.332 GB, free: 7.434 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.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: 15.19557003187947]