Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000803/0.000803, 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.0008556/0.0008556, 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.8916/0.8916, 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 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.662/1.662, allocations: 359 MB / 0.6037 GB, free: 11.08 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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_11_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_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 0 / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.702e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001262/0.001289, allocations: 0.5556 MB / 0.951 GB, free: 2.918 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 4.363e-05/0.001333, allocations: 4 kB / 0.951 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.001358, allocations: 0 / 0.951 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.001384, allocations: 0 / 0.951 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.886e-05/0.001412, allocations: 0 / 0.951 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.211e-05/0.001445, allocations: 4 kB / 0.9511 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.209e-05/0.001507, allocations: 4 kB / 0.9511 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.001556, allocations: 3.984 kB / 0.9511 GB, free: 2.902 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.198e-05/0.001588, allocations: 3.938 kB / 0.9511 GB, free: 2.898 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.128e-05/0.001609, allocations: 0 / 0.9511 GB, free: 2.898 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.001629, allocations: 0 / 0.9511 GB, free: 2.898 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.106e-06/0.001632, allocations: 4 kB / 0.9511 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.001646, allocations: 3.984 kB / 0.9511 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.001664, allocations: 0 / 0.9511 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 6.033e-05/0.001725, allocations: 4 kB / 0.9511 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.001727, allocations: 0 / 0.9511 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.102e-06/0.001728, allocations: 4 kB / 0.9511 GB, free: 2.883 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.001732, allocations: 0 / 0.9511 GB, free: 2.883 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.000237/0.001969, allocations: 244.2 kB / 0.9513 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.00201, allocations: 12.03 kB / 0.9513 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.791e-05/0.002038, allocations: 30.75 kB / 0.9514 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.812e-05/0.002056, allocations: 0.9375 kB / 0.9514 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.583e-05/0.002132, allocations: 105.8 kB / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.002142, allocations: 8.312 kB / 0.9515 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.002149, allocations: 384 / 0.9515 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.367e-05/0.002233, allocations: 26.27 kB / 0.9515 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.002239, allocations: 4.188 kB / 0.9515 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.002246, allocations: 384 / 0.9515 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.002252, allocations: 4.125 kB / 0.9515 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.367e-05/0.002266, allocations: 4 kB / 0.9515 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.002541, allocations: 354.5 kB / 0.9518 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.082e-05/0.002602, allocations: 165.1 kB / 0.952 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.556e-05/0.002627, allocations: 84.17 kB / 0.9521 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.002648, allocations: 75.28 kB / 0.9521 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.002681, allocations: 113.7 kB / 0.9523 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.002682, allocations: 0 / 0.9523 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 5.725e-05/0.002739, allocations: 45.62 kB / 0.9523 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.002785, allocations: 126.7 kB / 0.9524 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.867e-05/0.002853, allocations: 93.86 kB / 0.9525 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.002861, allocations: 25.7 kB / 0.9525 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.157e-05/0.002883, allocations: 80.14 kB / 0.9526 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.002884, allocations: 0 / 0.9526 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/0.002901, allocations: 9.719 kB / 0.9526 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.002976, allocations: 318.8 kB / 0.9529 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-06/0.002981, allocations: 0 / 0.9529 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-06/0.002984, allocations: 0 / 0.9529 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.091e-05/0.003005, allocations: 83.39 kB / 0.953 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.92e-05/0.003024, allocations: 75.28 kB / 0.9531 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.588e-05/0.00306, allocations: 37.58 kB / 0.9531 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.003091, allocations: 79.28 kB / 0.9532 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.003113, allocations: 79.28 kB / 0.9533 GB, free: 456 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.793e-05/0.003161, allocations: 154.6 kB / 0.9534 GB, free: 300 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.052e-05/0.003182, allocations: 79.22 kB / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.592e-05/0.003218, allocations: 151.2 kB / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.095e-05/0.003278, allocations: 91.2 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.003296, allocations: 79.27 kB / 0.9538 GB, free: 15.9 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 8.209e-05/0.003378, allocations: 260.4 kB / 0.954 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.003417, allocations: 116.9 kB / 0.9542 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.865e-05/0.003456, allocations: 104.1 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.883e-05/0.003494, allocations: 176.5 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.473e-05/0.003539, allocations: 192.2 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.066e-05/0.00358, allocations: 180.3 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.00386, allocations: 372.2 kB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-05/0.003884, allocations: 105 kB / 0.9552 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.003909, allocations: 105 kB / 0.9553 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-05/0.003952, allocations: 192.1 kB / 0.9555 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.049e-05/0.003993, allocations: 176.3 kB / 0.9557 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-05/0.00403, allocations: 184.2 kB / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-05/0.004069, allocations: 180.3 kB / 0.956 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.715e-05/0.004166, allocations: 307.8 kB / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.004199, allocations: 108.9 kB / 0.9564 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.004246, allocations: 184.2 kB / 0.9566 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.679e-05/0.004292, allocations: 109 kB / 0.9567 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.004345, allocations: 180.3 kB / 0.9569 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.004377, allocations: 104.9 kB / 0.957 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.269e-05/0.004409, allocations: 79.28 kB / 0.9571 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004409, allocations: 4 kB / 0.9571 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001575/0.004567, allocations: 4.094 kB / 0.9571 GB, free: 12.35 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.0002899/0.004857, allocations: 0.8048 MB / 0.9578 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 4.254e-05/0.004899, allocations: 7.938 kB / 0.9579 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.004901, allocations: 0 / 0.9579 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.004902, allocations: 0 / 0.9579 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.005169, allocations: 455.7 kB / 0.9583 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007939/0.005963, allocations: 1.527 MB / 0.9598 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.698e-05/0.00601, allocations: 55.45 kB / 0.9598 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.013e-05/0.00602, allocations: 4 kB / 0.9598 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.006052, allocations: 12.48 kB / 0.9598 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of SimCode: time 7.61e-07/0.006053, allocations: 0 / 0.9598 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.02524, allocations: 1.543 MB / 0.9614 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.659/6.684, allocations: 12.06 kB / 0.9614 GB, free: 7.941 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.834969888441265]