Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001076/0.001076, 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.001315/0.001315, allocations: 165.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.9036/0.9036, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.694/1.694, allocations: 377.8 MB / 0.6221 GB, free: 8.672 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.Validation.Exp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.286e-05, allocations: 2.281 kB / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001242/0.001265, allocations: 0.6781 MB / 0.9817 GB, free: 1.863 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00074/0.002005, allocations: 0.8393 MB / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.002035, allocations: 0 / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.00206, allocations: 0 / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-05/0.002117, allocations: 7.875 kB / 0.9825 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.002293, allocations: 11.98 kB / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.702e-05/0.00236, allocations: 19.94 kB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.002448, allocations: 11.98 kB / 0.9826 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.157e-05/0.00251, allocations: 8 kB / 0.9826 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.522e-05/0.002545, allocations: 11.98 kB / 0.9826 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.002559, allocations: 3.938 kB / 0.9826 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.909e-05/0.002598, allocations: 7.984 kB / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.002611, allocations: 4 kB / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.002628, allocations: 7.984 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.164e-05/0.00272, allocations: 19.97 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.002723, allocations: 4 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002724, allocations: 0 / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.002729, allocations: 0 / 0.9826 GB, free: 0.8945 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003157/0.003044, allocations: 262.3 kB / 0.9829 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.003084, allocations: 12.03 kB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.783e-05/0.003112, allocations: 34.69 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.137e-05/0.003183, allocations: 12.88 kB / 0.9829 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.152e-05/0.003265, allocations: 113.7 kB / 0.983 GB, free: 412 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.003275, allocations: 384 / 0.983 GB, free: 412 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.003284, allocations: 4.375 kB / 0.983 GB, free: 408 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.003408, allocations: 46.23 kB / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.003416, allocations: 192 / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.003427, allocations: 12.38 kB / 0.9831 GB, free: 344 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.003432, allocations: 4.125 kB / 0.9831 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.68e-05/0.003519, allocations: 27.97 kB / 0.9831 GB, free: 312 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.003788, allocations: 216 kB / 0.9833 GB, free: 52 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 7.496e-05/0.003863, allocations: 38.5 kB / 0.9834 GB, free: 4 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.694e-05/0.00396, allocations: 24.89 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.00398, allocations: 4 kB / 0.9834 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.003997, allocations: 38.5 kB / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.003998, allocations: 3.938 kB / 0.9834 GB, free: 15.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.000215/0.004213, allocations: 81.58 kB / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.00424, allocations: 51.41 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.982e-05/0.00429, allocations: 97.86 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.004299, allocations: 29.7 kB / 0.9837 GB, free: 15.63 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/0.00433, allocations: 84.09 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.004345, allocations: 12.06 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/0.004366, allocations: 13.72 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.004431, allocations: 314.8 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.911e-05/0.00447, allocations: 15.98 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.459e-05/0.004505, allocations: 19.97 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.314e-05/0.004578, allocations: 36.83 kB / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.00458, allocations: 4.062 kB / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.856e-05/0.004679, allocations: 73.53 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.004691, allocations: 4 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.004695, allocations: 0 / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.004705, allocations: 0 / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.706e-05/0.004762, allocations: 8 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.004768, allocations: 3.984 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.004789, allocations: 4 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.004794, allocations: 4.031 kB / 0.9843 GB, free: 15.02 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 (2): * Single equations (assignments): 2 * 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 4.653e-05/0.004841, allocations: 117.7 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.004852, allocations: 7.938 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.004978, allocations: 68.95 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.00498, allocations: 0 / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.004983, allocations: 0 / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.004986, allocations: 4 kB / 0.9844 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.787e-05/0.005084, allocations: 128.7 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.005086, allocations: 4.031 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.005109, allocations: 4 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.005113, allocations: 7.938 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.005125, allocations: 0 / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.005127, allocations: 3.984 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.005129, allocations: 4 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.005257, allocations: 159.7 kB / 0.9847 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.005266, allocations: 11.91 kB / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.005279, allocations: 8.031 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.437e-05/0.005313, allocations: 0 / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.00535, allocations: 7.984 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.005352, allocations: 0 / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.741e-05/0.00538, allocations: 83.28 kB / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00538, allocations: 0 / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000142/0.005522, allocations: 7.938 kB / 0.9849 GB, free: 14.33 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 (2): * Single equations (assignments): 2 * 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.0003227/0.005844, allocations: 0.7007 MB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.005964, allocations: 35.95 kB / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.005965, allocations: 0 / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.841e-05/0.006003, allocations: 19.92 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.006224, allocations: 10.28 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.006515, allocations: 130.5 kB / 0.9857 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.891e-05/0.006554, allocations: 63.48 kB / 0.9858 GB, free: 13.29 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.867e-05/0.006572, allocations: 0 / 0.9858 GB, free: 13.29 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.006606, allocations: 12.48 kB / 0.9858 GB, free: 13.28 MB / 0.948 GB Notification: Performance of SimCode: time 3.51e-07/0.006607, allocations: 0 / 0.9858 GB, free: 13.28 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.02168, allocations: 1.941 MB / 0.9877 GB, free: 11.47 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.824/6.846, allocations: 4.312 kB / 0.9877 GB, free: 11.47 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_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_Validation_Exp.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable Exp1.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv. Warning: Get data of variable Exp1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.962961670942605]