Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.0008504/0.0008504, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001054/0.001054, 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.9215/0.9215, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.724/1.724, allocations: 377.9 MB / 0.6221 GB, free: 8.633 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.Log,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.981 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.356e-05, allocations: 2.281 kB / 0.981 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001261/0.001285, allocations: 0.6639 MB / 0.9817 GB, free: 1.848 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000846/0.002131, allocations: 0.8471 MB / 0.9825 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.097e-05/0.002172, allocations: 0 / 0.9825 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.002203, allocations: 3.938 kB / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.95e-05/0.002263, allocations: 0 / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.002451, allocations: 11.94 kB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.738e-05/0.002518, allocations: 23.92 kB / 0.9825 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.002612, allocations: 7.984 kB / 0.9825 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.387e-05/0.002676, allocations: 11.94 kB / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.509e-05/0.002711, allocations: 11.97 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.002724, allocations: 4 kB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.897e-05/0.002763, allocations: 8 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.002775, allocations: 3.938 kB / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.66e-05/0.002792, allocations: 8 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.158e-05/0.002883, allocations: 27.89 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.002885, allocations: 0 / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.022e-06/0.002886, allocations: 0 / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.002891, allocations: 4 kB / 0.9826 GB, free: 0.8633 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.0003124/0.003203, allocations: 262.3 kB / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.003241, allocations: 8.031 kB / 0.9829 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.895e-05/0.00327, allocations: 34.75 kB / 0.9829 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.00333, allocations: 12.89 kB / 0.9829 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.351e-05/0.003403, allocations: 113.8 kB / 0.983 GB, free: 384 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.003413, allocations: 384 / 0.983 GB, free: 384 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-06/0.003421, allocations: 384 / 0.983 GB, free: 384 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.003545, allocations: 50.23 kB / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.003552, allocations: 192 / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.003561, allocations: 384 / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.003567, allocations: 4.125 kB / 0.9831 GB, free: 324 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.725e-05/0.003654, allocations: 39.91 kB / 0.9831 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002663/0.00392, allocations: 212.1 kB / 0.9833 GB, free: 28 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 8.944e-05/0.00401, allocations: 34.56 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/0.004054, allocations: 24.91 kB / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.004073, allocations: 0 / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.004094, allocations: 38.48 kB / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.004095, allocations: 3.938 kB / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002256/0.004321, allocations: 81.59 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.004357, allocations: 59.39 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.455e-05/0.004422, allocations: 97.86 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.004432, allocations: 25.7 kB / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.004472, allocations: 88.09 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.004488, allocations: 3.953 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.004522, allocations: 17.7 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.00461, allocations: 314.8 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.004653, allocations: 16.11 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-05/0.004689, allocations: 19.98 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.146e-05/0.004771, allocations: 44.75 kB / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.004773, allocations: 3.938 kB / 0.9842 GB, free: 15.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001049/0.004878, allocations: 61.61 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.004895, allocations: 19.05 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.004901, allocations: 0 / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.004913, allocations: 192 / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.004979, allocations: 4 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.004984, allocations: 0 / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.005006, allocations: 7.984 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-06/0.005012, allocations: 4 kB / 0.9843 GB, free: 15 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 6.216e-05/0.005075, allocations: 105.8 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.005091, allocations: 11.92 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.005222, allocations: 76.91 kB / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.005226, allocations: 3.984 kB / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.005231, allocations: 0 / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.005233, allocations: 0 / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.005334, allocations: 120.8 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.005335, allocations: 4 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.00536, allocations: 7.984 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.005362, allocations: 3.938 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.005368, allocations: 4.031 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.005369, allocations: 0 / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.005371, allocations: 8 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.005501, allocations: 167.4 kB / 0.9847 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-06/0.005507, allocations: 3.938 kB / 0.9847 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.005517, allocations: 3.984 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.501e-05/0.005552, allocations: 4 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.005581, allocations: 3.984 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.005583, allocations: 8.031 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.516e-05/0.005608, allocations: 83.28 kB / 0.9848 GB, free: 14.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005608, allocations: 0 / 0.9848 GB, free: 14.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001433/0.005751, allocations: 7.938 kB / 0.9849 GB, free: 14.31 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.0002863/0.006038, allocations: 0.6889 MB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.006153, allocations: 47.92 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.006155, allocations: 4 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.667e-05/0.006192, allocations: 11.98 kB / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.006394, allocations: 7.938 kB / 0.9856 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.006698, allocations: 130.5 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.025e-05/0.006738, allocations: 59.34 kB / 0.9858 GB, free: 13.28 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.906e-05/0.006757, allocations: 4 kB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.006789, allocations: 12.62 kB / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.00679, allocations: 0 / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.02053, allocations: 1.946 MB / 0.9877 GB, free: 11.45 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.591/6.612, allocations: 9.172 kB / 0.9877 GB, free: 11.44 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.6212949603796]