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.0008285/0.0008285, 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.001379/0.001379, 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.9118/0.9118, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.746/1.746, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 3.386e-06/3.386e-06, allocations: 0 / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.922e-05, allocations: 2.281 kB / 0.981 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001432/0.001461, allocations: 0.5922 MB / 0.9816 GB, free: 1.945 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 4.537e-05/0.001506, allocations: 3.938 kB / 0.9816 GB, free: 1.941 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.715e-05/0.001533, allocations: 0 / 0.9816 GB, free: 1.941 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.001562, allocations: 0 / 0.9816 GB, free: 1.941 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.875e-05/0.001591, allocations: 0 / 0.9816 GB, free: 1.941 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.349e-05/0.001625, allocations: 8 kB / 0.9816 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.905e-05/0.001684, allocations: 7.938 kB / 0.9816 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.711e-05/0.001731, allocations: 0 / 0.9816 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.037e-05/0.001761, allocations: 0 / 0.9816 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.963e-05/0.001781, allocations: 0 / 0.9816 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.001801, allocations: 0 / 0.9816 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.238e-06/0.001805, allocations: 4 kB / 0.9816 GB, free: 1.922 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.001818, allocations: 0 / 0.9816 GB, free: 1.922 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.889e-05/0.001837, allocations: 0 / 0.9816 GB, free: 1.922 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 6.266e-05/0.0019, allocations: 7.969 kB / 0.9816 GB, free: 1.914 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.001902, allocations: 0 / 0.9816 GB, free: 1.914 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.252e-06/0.001903, allocations: 4 kB / 0.9816 GB, free: 1.91 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.001907, allocations: 0 / 0.9816 GB, free: 1.91 MB / 0.9323 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.0002421/0.00215, allocations: 234.5 kB / 0.9818 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.002192, allocations: 12.03 kB / 0.9819 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.785e-05/0.00222, allocations: 30.75 kB / 0.9819 GB, free: 1.598 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.985e-05/0.00224, allocations: 4.922 kB / 0.9819 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.901e-05/0.002319, allocations: 105.7 kB / 0.982 GB, free: 1.465 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.002332, allocations: 8.375 kB / 0.982 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.002339, allocations: 384 / 0.982 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.401e-05/0.002423, allocations: 30.27 kB / 0.982 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.00243, allocations: 4.188 kB / 0.982 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-06/0.002438, allocations: 384 / 0.982 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.002444, allocations: 4.125 kB / 0.982 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.72e-05/0.002461, allocations: 7.938 kB / 0.982 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002598/0.002721, allocations: 354.5 kB / 0.9824 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.942e-05/0.00278, allocations: 169.1 kB / 0.9825 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.002802, allocations: 84.17 kB / 0.9826 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.002821, allocations: 79.22 kB / 0.9827 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.00285, allocations: 109.8 kB / 0.9828 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 6.12e-07/0.002851, allocations: 0 / 0.9828 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 5.377e-05/0.002905, allocations: 37.64 kB / 0.9828 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.002948, allocations: 126.7 kB / 0.983 GB, free: 388 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.705e-05/0.003015, allocations: 101.8 kB / 0.9831 GB, free: 276 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.003023, allocations: 25.7 kB / 0.9831 GB, free: 244 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.386e-05/0.003047, allocations: 80.14 kB / 0.9832 GB, free: 160 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.003048, allocations: 0 / 0.9832 GB, free: 160 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.516e-05/0.003064, allocations: 9.719 kB / 0.9832 GB, free: 144 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.119e-05/0.003145, allocations: 314.8 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-06/0.00315, allocations: 0 / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-06/0.003154, allocations: 0 / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.865e-05/0.003172, allocations: 75.41 kB / 0.9835 GB, free: 15.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/0.003189, allocations: 79.28 kB / 0.9836 GB, free: 15.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.559e-05/0.003224, allocations: 37.64 kB / 0.9836 GB, free: 15.63 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.003252, allocations: 86.23 kB / 0.9837 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.00327, allocations: 79.22 kB / 0.9838 GB, free: 15.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.842e-05/0.003308, allocations: 154.6 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.706e-05/0.003325, allocations: 79.22 kB / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.141e-05/0.003357, allocations: 150.6 kB / 0.9842 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.223e-05/0.003399, allocations: 79.28 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.003416, allocations: 79.22 kB / 0.9843 GB, free: 14.93 MB / 0.948 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.81e-05/0.003494, allocations: 264.4 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.003529, allocations: 116.9 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.003563, allocations: 108.1 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.544e-05/0.003599, allocations: 176.5 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.89e-05/0.003637, allocations: 188.2 kB / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.766e-05/0.003675, allocations: 184.3 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.003808, allocations: 372.3 kB / 0.9857 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/0.003829, allocations: 104.9 kB / 0.9858 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.00385, allocations: 101 kB / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.843e-05/0.003888, allocations: 196.1 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.003926, allocations: 180.3 kB / 0.9862 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-05/0.003964, allocations: 180.3 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.972e-05/0.004004, allocations: 184.2 kB / 0.9866 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.004174, allocations: 307.7 kB / 0.9869 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.004206, allocations: 108.9 kB / 0.987 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.00425, allocations: 184.3 kB / 0.9871 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.594e-05/0.004296, allocations: 108.9 kB / 0.9872 GB, free: 11.75 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.004343, allocations: 180.3 kB / 0.9874 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.004368, allocations: 108.9 kB / 0.9875 GB, free: 11.45 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.894e-05/0.004397, allocations: 79.22 kB / 0.9876 GB, free: 11.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.004397, allocations: 4 kB / 0.9876 GB, free: 11.37 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001614/0.004558, allocations: 4.094 kB / 0.9876 GB, free: 11.37 MB / 0.948 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.0002525/0.004811, allocations: 0.8048 MB / 0.9884 GB, free: 10.54 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 3.684e-05/0.004847, allocations: 3.938 kB / 0.9884 GB, free: 10.53 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.004849, allocations: 0 / 0.9884 GB, free: 10.53 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.00485, allocations: 0 / 0.9884 GB, free: 10.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.005089, allocations: 462.3 kB / 0.9888 GB, free: 10.08 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007339/0.005823, allocations: 1.521 MB / 0.9903 GB, free: 8.477 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.782e-05/0.005881, allocations: 59.48 kB / 0.9904 GB, free: 8.398 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.046e-05/0.005891, allocations: 4 kB / 0.9904 GB, free: 8.395 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.005915, allocations: 8.5 kB / 0.9904 GB, free: 8.387 MB / 0.948 GB Notification: Performance of SimCode: time 8.72e-07/0.005916, allocations: 0 / 0.9904 GB, free: 8.387 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.02303, allocations: 1.543 MB / 0.9919 GB, free: 6.969 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.758/6.781, allocations: 5.672 kB / 0.9919 GB, free: 6.969 MB / 0.948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/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: 10.974949817173183]