Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.374/2.374, allocations: 443.5 MB / 0.7304 GB, free: 13.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_10_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_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 72.06 kB / 1.059 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2735, allocations: 160.7 MB / 1.216 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001675/0.2751, allocations: 0.5941 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 3.862e-05/0.2752, allocations: 3.938 kB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.2752, allocations: 0 / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.2752, allocations: 0 / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.563e-05/0.2752, allocations: 0 / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 2.728e-05/0.2753, allocations: 0 / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.015e-05/0.2753, allocations: 8 kB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.2754, allocations: 4 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.122e-05/0.2754, allocations: 0 / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.797e-05/0.2754, allocations: 3.938 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.2754, allocations: 0 / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.387e-06/0.2754, allocations: 0 / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.2754, allocations: 0 / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.843e-05/0.2754, allocations: 4 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.271e-05/0.2755, allocations: 3.984 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2755, allocations: 0 / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2755, allocations: 0 / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.2755, allocations: 4 kB / 1.216 GB, free: 15.28 MB / 0.9669 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.0002973/0.2758, allocations: 319.8 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2758, allocations: 8.031 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.504e-05/0.2759, allocations: 42.61 kB / 1.217 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.755e-05/0.2759, allocations: 0.9375 kB / 1.217 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.276, allocations: 168.4 kB / 1.217 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.276, allocations: 384 / 1.217 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.276, allocations: 384 / 1.217 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.905e-05/0.2761, allocations: 30.27 kB / 1.217 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2761, allocations: 3.938 kB / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.2761, allocations: 7.938 kB / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2761, allocations: 0 / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.348e-05/0.2761, allocations: 0 / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.2764, allocations: 383.5 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.2765, allocations: 177.1 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.81e-05/0.2766, allocations: 80.14 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.2766, allocations: 75.28 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/0.2767, allocations: 109.9 kB / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2767, allocations: 0 / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 6.924e-05/0.2767, allocations: 33.62 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.2768, allocations: 130.7 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.336e-05/0.2769, allocations: 97.86 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.2769, allocations: 25.7 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.2769, allocations: 80.14 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-06/0.2769, allocations: 0 / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.277, allocations: 9.719 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2771, allocations: 314.8 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.707e-06/0.2771, allocations: 128 / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-06/0.2771, allocations: 4 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.351e-05/0.2771, allocations: 75.28 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.284e-05/0.2772, allocations: 83.2 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.916e-05/0.2772, allocations: 37.64 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.2773, allocations: 79.28 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-05/0.2773, allocations: 79.28 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.391e-05/0.2774, allocations: 150.6 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.167e-05/0.2774, allocations: 87.22 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.598e-05/0.2774, allocations: 151.6 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.06e-05/0.2775, allocations: 79.22 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.2775, allocations: 79.27 kB / 1.219 GB, free: 12.09 MB / 0.9669 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.00012/0.2777, allocations: 268.3 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.2777, allocations: 105 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.2778, allocations: 108 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.045e-05/0.2778, allocations: 184.3 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.017e-05/0.2779, allocations: 188.2 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.208e-05/0.278, allocations: 176.3 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.2782, allocations: 413.3 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-05/0.2783, allocations: 112.9 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.2783, allocations: 101 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.24e-05/0.2784, allocations: 184.2 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.972e-05/0.2785, allocations: 180.3 kB / 1.221 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.734e-05/0.2785, allocations: 184.2 kB / 1.221 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.879e-05/0.2786, allocations: 180.3 kB / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.2788, allocations: 307.7 kB / 1.222 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/0.2789, allocations: 182.1 kB / 1.222 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.412e-05/0.2789, allocations: 188.2 kB / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.778e-05/0.279, allocations: 101 kB / 1.222 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.2791, allocations: 180.3 kB / 1.222 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-05/0.2791, allocations: 108.9 kB / 1.222 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.117e-05/0.2792, allocations: 79.28 kB / 1.222 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2792, allocations: 0 / 1.222 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002282/0.2794, allocations: 0 / 1.222 GB, free: 8.414 MB / 0.9669 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.0004749/0.2799, allocations: 0.8127 MB / 1.223 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 3.799e-05/0.2799, allocations: 11.94 kB / 1.223 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2799, allocations: 0 / 1.223 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.2799, allocations: 0 / 1.223 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.2803, allocations: 455.7 kB / 1.224 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.2814, allocations: 1.533 MB / 1.225 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.2816, allocations: 0.6729 MB / 1.226 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.546e-06/0.2816, allocations: 4 kB / 1.226 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.2817, allocations: 7.438 kB / 1.226 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of SimCode: time 8.22e-07/0.2817, allocations: 0 / 1.226 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.3042, allocations: 0.8983 MB / 1.227 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.9/7.204, allocations: 6.5 kB / 1.227 GB, free: 3.965 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.470835416999762]