Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001115/0.001115, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009383/0.0009383, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.898/0.898, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.739/1.739, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.752e-05, allocations: 4.672 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001017/0.001034, allocations: 0.5728 MB / 1 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 3.871e-05/0.001073, allocations: 3.938 kB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.001098, allocations: 0 / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.001122, allocations: 0 / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.317e-05/0.001145, allocations: 0 / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 2.838e-05/0.001173, allocations: 4 kB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.938e-05/0.001223, allocations: 11.94 kB / 1 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.001268, allocations: 3.984 kB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.897e-05/0.001296, allocations: 3.984 kB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.698e-05/0.001313, allocations: 0 / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.00133, allocations: 4 kB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.226e-06/0.001333, allocations: 0 / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.001345, allocations: 0 / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.548e-05/0.001361, allocations: 0 / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 5.149e-05/0.001412, allocations: 0 / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.001414, allocations: 0 / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.41e-07/0.001415, allocations: 3.938 kB / 1 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.001419, allocations: 4 kB / 1 GB, free: 12.83 MB / 0.9636 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.0002224/0.001642, allocations: 238.5 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.001682, allocations: 12.75 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.883e-05/0.001711, allocations: 30.75 kB / 1.001 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.626e-05/0.001728, allocations: 4.875 kB / 1.001 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.267e-05/0.0018, allocations: 105.8 kB / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.001811, allocations: 384 / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.001818, allocations: 4.359 kB / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.966e-05/0.001898, allocations: 30.27 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.001905, allocations: 192 / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.001913, allocations: 8.375 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.001919, allocations: 4.125 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.414e-05/0.001933, allocations: 0 / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002491/0.002182, allocations: 354.5 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.398e-05/0.002246, allocations: 169.2 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.002272, allocations: 80.14 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.002294, allocations: 75.28 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.002326, allocations: 109.8 kB / 1.001 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.002327, allocations: 0 / 1.001 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.4e-05/0.002381, allocations: 41.58 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.002424, allocations: 130.7 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.746e-05/0.002481, allocations: 97.86 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.002493, allocations: 25.7 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.973e-05/0.002513, allocations: 80.14 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.002514, allocations: 0 / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.002529, allocations: 9.719 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.706e-05/0.002596, allocations: 314.8 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-06/0.002601, allocations: 0 / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-06/0.002603, allocations: 0 / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.929e-05/0.002623, allocations: 75.28 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-05/0.00264, allocations: 83.27 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.302e-05/0.002673, allocations: 49.64 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.002699, allocations: 79.28 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.002715, allocations: 75.28 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.904e-05/0.002754, allocations: 154.6 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.74e-05/0.002772, allocations: 83.94 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.884e-05/0.002801, allocations: 150.6 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.129e-05/0.002842, allocations: 83.22 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.002858, allocations: 79.27 kB / 1.003 GB, free: 9.844 MB / 0.9636 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.099e-05/0.002929, allocations: 264.4 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.002961, allocations: 109 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/0.002992, allocations: 112.1 kB / 1.003 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-05/0.003031, allocations: 180.5 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.034e-05/0.003071, allocations: 184.2 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.715e-05/0.003108, allocations: 180.3 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.003233, allocations: 372.3 kB / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-05/0.003255, allocations: 104.9 kB / 1.004 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.003277, allocations: 109 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.724e-05/0.003315, allocations: 184.1 kB / 1.005 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003179/0.003633, allocations: 180.3 kB / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-05/0.003675, allocations: 180.3 kB / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.74e-05/0.003712, allocations: 184.2 kB / 1.005 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.839e-05/0.003801, allocations: 303.8 kB / 1.006 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.003829, allocations: 112.9 kB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.003872, allocations: 180.2 kB / 1.006 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.903e-05/0.003921, allocations: 109 kB / 1.006 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.003964, allocations: 180.3 kB / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.003986, allocations: 104.9 kB / 1.006 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.63e-05/0.004013, allocations: 79.28 kB / 1.006 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004013, allocations: 0 / 1.006 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001515/0.004164, allocations: 0 / 1.006 GB, free: 6.301 MB / 0.9636 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.0002423/0.004407, allocations: 0.8088 MB / 1.007 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 3.165e-05/0.004438, allocations: 3.938 kB / 1.007 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.004439, allocations: 0 / 1.007 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.00444, allocations: 0 / 1.007 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.004667, allocations: 459.7 kB / 1.008 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006814/0.005348, allocations: 1.528 MB / 1.009 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.012e-05/0.005388, allocations: 59.34 kB / 1.009 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.582e-06/0.005395, allocations: 128 / 1.009 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.005417, allocations: 12.5 kB / 1.009 GB, free: 3.309 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.005418, allocations: 3.938 kB / 1.009 GB, free: 3.305 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.01926, allocations: 1.566 MB / 1.011 GB, free: 1.879 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.51/6.529, allocations: 0 / 1.011 GB, free: 1.879 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.647606651298702]