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.0008152/0.0008152, allocations: 72.44 kB / 19.17 MB, free: 0.7344 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.0008346/0.0008346, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8749/0.8749, allocations: 177.1 MB / 202.8 MB, free: 5.766 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.701/1.701, allocations: 377.9 MB / 0.6221 GB, free: 8.668 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 2.164e-06/2.164e-06, allocations: 0 / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.572e-05, allocations: 4.953 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001089/0.001104, allocations: 0.6039 MB / 0.9816 GB, free: 1.953 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 3.803e-05/0.001142, allocations: 3.938 kB / 0.9816 GB, free: 1.949 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.089e-05/0.001163, allocations: 0 / 0.9816 GB, free: 1.949 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.001187, allocations: 0 / 0.9816 GB, free: 1.949 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.385e-05/0.001211, allocations: 0 / 0.9816 GB, free: 1.949 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 2.596e-05/0.001237, allocations: 0 / 0.9816 GB, free: 1.949 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 4.88e-05/0.001286, allocations: 4 kB / 0.9816 GB, free: 1.945 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.301e-05/0.001329, allocations: 7.984 kB / 0.9816 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.612e-05/0.001355, allocations: 0 / 0.9816 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.628e-05/0.001371, allocations: 4 kB / 0.9816 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.001389, allocations: 0 / 0.9816 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 2.915e-06/0.001392, allocations: 3.938 kB / 0.9816 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.001403, allocations: 0 / 0.9816 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.62e-05/0.001419, allocations: 4 kB / 0.9816 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 5.097e-05/0.00147, allocations: 3.984 kB / 0.9816 GB, free: 1.922 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.001472, allocations: 0 / 0.9816 GB, free: 1.922 MB / 0.9323 GB Notification: Performance of FrontEnd: time 6.51e-07/0.001472, allocations: 0 / 0.9816 GB, free: 1.922 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.001476, allocations: 0 / 0.9816 GB, free: 1.922 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.000221/0.001697, allocations: 238.5 kB / 0.9818 GB, free: 1.656 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.001735, allocations: 8.031 kB / 0.9818 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.484e-05/0.00176, allocations: 38.75 kB / 0.9819 GB, free: 1.602 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.55e-05/0.001776, allocations: 0.9375 kB / 0.9819 GB, free: 1.602 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.838e-05/0.001844, allocations: 105.7 kB / 0.982 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.001853, allocations: 384 / 0.982 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-06/0.001858, allocations: 384 / 0.982 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.677e-05/0.001925, allocations: 30.27 kB / 0.982 GB, free: 1.438 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.001931, allocations: 192 / 0.982 GB, free: 1.438 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.001939, allocations: 4.375 kB / 0.982 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.001945, allocations: 8.109 kB / 0.982 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.527e-05/0.00196, allocations: 4 kB / 0.982 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.002191, allocations: 350.6 kB / 0.9824 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.884e-05/0.00225, allocations: 173.1 kB / 0.9825 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.002273, allocations: 80.14 kB / 0.9826 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.002291, allocations: 79.22 kB / 0.9827 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.002325, allocations: 117.8 kB / 0.9828 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.002326, allocations: 0 / 0.9828 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 4.827e-05/0.002374, allocations: 29.64 kB / 0.9828 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.002414, allocations: 126.7 kB / 0.9829 GB, free: 408 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.234e-05/0.002476, allocations: 97.86 kB / 0.983 GB, free: 300 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.002484, allocations: 25.7 kB / 0.9831 GB, free: 268 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.213e-05/0.002506, allocations: 92.2 kB / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-06/0.002508, allocations: 0 / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.002523, allocations: 9.719 kB / 0.9832 GB, free: 156 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.435e-05/0.002608, allocations: 314.8 kB / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-06/0.002615, allocations: 0 / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-06/0.002619, allocations: 0 / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.776e-05/0.002636, allocations: 79.28 kB / 0.9835 GB, free: 15.76 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/0.002653, allocations: 75.28 kB / 0.9836 GB, free: 15.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.073e-05/0.002684, allocations: 29.64 kB / 0.9836 GB, free: 15.65 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.00271, allocations: 91.22 kB / 0.9837 GB, free: 15.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.002726, allocations: 75.28 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.708e-05/0.002763, allocations: 154.6 kB / 0.9839 GB, free: 15.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.722e-05/0.002781, allocations: 83.22 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.235e-05/0.002813, allocations: 158.5 kB / 0.9842 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/0.002853, allocations: 79.22 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.002868, allocations: 79.28 kB / 0.9843 GB, free: 14.94 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.093e-05/0.002939, allocations: 260.4 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.002972, allocations: 109 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.003001, allocations: 112.1 kB / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.77e-05/0.003039, allocations: 180.5 kB / 0.985 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-05/0.003076, allocations: 180.2 kB / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.555e-05/0.003112, allocations: 188.3 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.003239, allocations: 372.3 kB / 0.9857 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/0.003262, allocations: 108.9 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.178e-05/0.003284, allocations: 105 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-05/0.003357, allocations: 184.1 kB / 0.986 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.003399, allocations: 180.3 kB / 0.9862 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.012e-05/0.003439, allocations: 180.3 kB / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.49e-05/0.003484, allocations: 184.2 kB / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.75e-05/0.003571, allocations: 307.7 kB / 0.9869 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.003601, allocations: 104.9 kB / 0.987 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.003648, allocations: 188.2 kB / 0.9871 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.509e-05/0.003693, allocations: 112.9 kB / 0.9872 GB, free: 11.76 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.003733, allocations: 176.3 kB / 0.9874 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.003756, allocations: 108.9 kB / 0.9875 GB, free: 11.47 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.698e-05/0.003783, allocations: 79.22 kB / 0.9876 GB, free: 11.39 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.003783, allocations: 3.938 kB / 0.9876 GB, free: 11.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000159/0.003942, allocations: 0 / 0.9876 GB, free: 11.39 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.0002363/0.004178, allocations: 0.8048 MB / 0.9884 GB, free: 10.55 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 3.615e-05/0.004214, allocations: 7.938 kB / 0.9884 GB, free: 10.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.004215, allocations: 4.094 kB / 0.9884 GB, free: 10.54 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.004216, allocations: 0 / 0.9884 GB, free: 10.54 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.004459, allocations: 459.7 kB / 0.9888 GB, free: 10.09 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006802/0.00514, allocations: 1.521 MB / 0.9903 GB, free: 8.488 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.405e-05/0.005174, allocations: 59.34 kB / 0.9904 GB, free: 8.41 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.891e-06/0.005179, allocations: 0 / 0.9904 GB, free: 8.41 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.005199, allocations: 8.5 kB / 0.9904 GB, free: 8.402 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/0.0052, allocations: 0 / 0.9904 GB, free: 8.402 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01289/0.01809, allocations: 1.553 MB / 0.9919 GB, free: 6.977 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.812/6.83, allocations: 7.031 kB / 0.9919 GB, free: 6.973 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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.753512070514262]