Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007967/0.0007967, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008668/0.0008668, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9025/0.9025, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.681/1.681, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Sources.Validation.Constant,fileNamePrefix="Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 4 kB / 0.9505 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.237e-05/1.455e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001012/0.001027, allocations: 0.5876 MB / 0.9511 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 3.492e-05/0.001062, allocations: 0 / 0.9511 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.179e-05/0.001084, allocations: 4 kB / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.001107, allocations: 0 / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.321e-05/0.00113, allocations: 0 / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 2.595e-05/0.001156, allocations: 7.938 kB / 0.9511 GB, free: 2.828 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.82e-05/0.001204, allocations: 4 kB / 0.9511 GB, free: 2.824 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.001246, allocations: 3.984 kB / 0.9511 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.603e-05/0.001272, allocations: 0 / 0.9511 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.667e-05/0.001289, allocations: 3.938 kB / 0.9511 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.001305, allocations: 0 / 0.9511 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.026e-06/0.001308, allocations: 4 kB / 0.9512 GB, free: 2.812 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.001319, allocations: 0 / 0.9512 GB, free: 2.812 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.514e-05/0.001334, allocations: 4 kB / 0.9512 GB, free: 2.809 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 4.764e-05/0.001381, allocations: 0 / 0.9512 GB, free: 2.809 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.001384, allocations: 4 kB / 0.9512 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of FrontEnd: time 5.61e-07/0.001385, allocations: 0 / 0.9512 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.886e-06/0.001388, allocations: 0 / 0.9512 GB, free: 2.805 MB / 0.9011 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.0002067/0.001594, allocations: 238.4 kB / 0.9514 GB, free: 2.539 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.001631, allocations: 12.03 kB / 0.9514 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.571e-05/0.001656, allocations: 30.75 kB / 0.9514 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.555e-05/0.001672, allocations: 4.875 kB / 0.9514 GB, free: 2.484 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.259e-05/0.001735, allocations: 101.8 kB / 0.9515 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.001744, allocations: 8.375 kB / 0.9515 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-06/0.00175, allocations: 384 / 0.9515 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.55e-05/0.001815, allocations: 30.27 kB / 0.9516 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.00182, allocations: 192 / 0.9516 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.001826, allocations: 384 / 0.9516 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.001832, allocations: 12.05 kB / 0.9516 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.287e-05/0.001845, allocations: 4 kB / 0.9516 GB, free: 2.301 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.002067, allocations: 346.6 kB / 0.9519 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.413e-05/0.002121, allocations: 165.1 kB / 0.9521 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.302e-05/0.002144, allocations: 84.17 kB / 0.9521 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.002162, allocations: 83.22 kB / 0.9522 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.002192, allocations: 113.8 kB / 0.9523 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 5.61e-07/0.002193, allocations: 0 / 0.9523 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 4.717e-05/0.00224, allocations: 29.7 kB / 0.9524 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.002278, allocations: 126.7 kB / 0.9525 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.256e-05/0.002331, allocations: 101.8 kB / 0.9526 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.002339, allocations: 25.7 kB / 0.9526 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.926e-05/0.002358, allocations: 80.14 kB / 0.9527 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-06/0.00236, allocations: 0 / 0.9527 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/0.002374, allocations: 9.719 kB / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.432e-05/0.002439, allocations: 319 kB / 0.953 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-06/0.002442, allocations: 4 kB / 0.953 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-06/0.002446, allocations: 3.938 kB / 0.953 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.769e-05/0.002463, allocations: 79.28 kB / 0.9531 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.226e-05/0.002486, allocations: 79.28 kB / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.963e-05/0.002515, allocations: 33.64 kB / 0.9532 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.00254, allocations: 79.28 kB / 0.9533 GB, free: 456 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.002555, allocations: 75.28 kB / 0.9533 GB, free: 380 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.901e-05/0.002594, allocations: 158.5 kB / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-05/0.002608, allocations: 75.28 kB / 0.9536 GB, free: 144 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.223e-05/0.00265, allocations: 159.1 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.976e-05/0.00269, allocations: 83.28 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.002704, allocations: 75.28 kB / 0.9539 GB, free: 15.83 MB / 0.9167 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 7.009e-05/0.002774, allocations: 264.3 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.002805, allocations: 113 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.002833, allocations: 104.1 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.53e-05/0.002868, allocations: 184.4 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.621e-05/0.002904, allocations: 180.3 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.651e-05/0.002941, allocations: 188.2 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.003063, allocations: 368.3 kB / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/0.003084, allocations: 108.9 kB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.447e-05/0.003109, allocations: 108.9 kB / 0.9554 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.609e-05/0.003145, allocations: 188.2 kB / 0.9556 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.003184, allocations: 184.2 kB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.375e-05/0.003218, allocations: 176.3 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.485e-05/0.003253, allocations: 184.2 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.96e-05/0.003332, allocations: 299.8 kB / 0.9564 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.003359, allocations: 112.9 kB / 0.9565 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.003401, allocations: 184.2 kB / 0.9567 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.062e-05/0.003452, allocations: 105 kB / 0.9568 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.003494, allocations: 184.2 kB / 0.957 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.003517, allocations: 104.9 kB / 0.9571 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.285e-05/0.003539, allocations: 83.28 kB / 0.9571 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.003539, allocations: 4 kB / 0.9571 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001537/0.003693, allocations: 0 / 0.9571 GB, free: 12.27 MB / 0.9167 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.0002239/0.003917, allocations: 0.8086 MB / 0.9579 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 2.985e-05/0.003947, allocations: 0 / 0.9579 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.003949, allocations: 0 / 0.9579 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.82e-07/0.00395, allocations: 0 / 0.9579 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.00418, allocations: 459.7 kB / 0.9584 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007322/0.004912, allocations: 1.54 MB / 0.9599 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.627e-05/0.004949, allocations: 59.34 kB / 0.9599 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.323e-06/0.004956, allocations: 0 / 0.9599 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.004978, allocations: 8.5 kB / 0.9599 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.004979, allocations: 0 / 0.9599 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.01779, allocations: 1.563 MB / 0.9615 GB, free: 7.844 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.746/6.764, allocations: 4.734 kB / 0.9615 GB, free: 7.844 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.737463220022619]