Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.000843/0.000843, 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.0008518/0.0008518, 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.8854/0.8854, allocations: 177.2 MB / 202.8 MB, free: 5.742 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.744/1.744, allocations: 377.8 MB / 0.6221 GB, free: 8.691 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.Max,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.532e-05, allocations: 4.953 kB / 0.981 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.00158/0.001596, allocations: 0.7049 MB / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.002682, allocations: 0.8237 MB / 0.9825 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.002724, allocations: 0 / 0.9825 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.00276, allocations: 7.922 kB / 0.9825 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.409e-05/0.002834, allocations: 11.94 kB / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.002959, allocations: 15.92 kB / 0.9826 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.275e-05/0.003052, allocations: 43.86 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.003161, allocations: 11.97 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.295e-05/0.003254, allocations: 23.92 kB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.003303, allocations: 11.98 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.003332, allocations: 4 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.003343, allocations: 4 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.561e-05/0.003369, allocations: 15.92 kB / 0.9827 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.003395, allocations: 8 kB / 0.9827 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.003502, allocations: 51.84 kB / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.003504, allocations: 0 / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.312e-06/0.003505, allocations: 0 / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.003509, allocations: 0 / 0.9827 GB, free: 0.7891 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004897/0.003999, allocations: 282.3 kB / 0.983 GB, free: 492 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.004051, allocations: 8.031 kB / 0.983 GB, free: 484 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.703e-05/0.004098, allocations: 34.69 kB / 0.983 GB, free: 440 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.004128, allocations: 12.88 kB / 0.983 GB, free: 428 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.004241, allocations: 113.7 kB / 0.9831 GB, free: 288 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.004256, allocations: 8.375 kB / 0.9832 GB, free: 280 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.004268, allocations: 4.375 kB / 0.9832 GB, free: 276 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.004505, allocations: 66.22 kB / 0.9832 GB, free: 204 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.004516, allocations: 192 / 0.9832 GB, free: 204 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.004526, allocations: 384 / 0.9832 GB, free: 204 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.004532, allocations: 4.125 kB / 0.9832 GB, free: 200 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.004768, allocations: 67.92 kB / 0.9833 GB, free: 132 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.005157, allocations: 240 kB / 0.9835 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.005323, allocations: 50.55 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.005434, allocations: 40.91 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.005457, allocations: 3.938 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.005479, allocations: 30.56 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.005481, allocations: 3.938 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0004099/0.005891, allocations: 129.5 kB / 0.9838 GB, free: 15.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.005937, allocations: 59.39 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.838e-05/0.006015, allocations: 101.9 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.006031, allocations: 29.69 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.006072, allocations: 92.09 kB / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.00609, allocations: 11.89 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.006128, allocations: 17.72 kB / 0.9841 GB, free: 15.23 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.006217, allocations: 314.8 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.385e-05/0.00631, allocations: 31.97 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.445e-05/0.006395, allocations: 27.97 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.006577, allocations: 72.78 kB / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.006579, allocations: 0 / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002225/0.006801, allocations: 105.5 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.006814, allocations: 7.938 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006818, allocations: 0 / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.006832, allocations: 0 / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-05/0.006927, allocations: 23.98 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.006931, allocations: 0 / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.341e-05/0.006985, allocations: 15.94 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.006992, allocations: 0 / 0.9846 GB, free: 14.62 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 (3): * Single equations (assignments): 3 * 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.432e-05/0.007057, allocations: 109.8 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.007081, allocations: 7.922 kB / 0.9848 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.007327, allocations: 113.9 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007329, allocations: 0 / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.007332, allocations: 0 / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.007337, allocations: 4.031 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.007474, allocations: 136.7 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.007476, allocations: 4 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.007533, allocations: 15.92 kB / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.007534, allocations: 0 / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.007541, allocations: 0 / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.007545, allocations: 7.984 kB / 0.985 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007546, allocations: 4 kB / 0.985 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.007787, allocations: 187.4 kB / 0.9852 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.007799, allocations: 15.88 kB / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.007811, allocations: 4 kB / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.00788, allocations: 7.984 kB / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.007915, allocations: 7.984 kB / 0.9852 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.007918, allocations: 0 / 0.9852 GB, free: 13.93 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.793e-05/0.007956, allocations: 99.56 kB / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.007956, allocations: 0 / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002368/0.008193, allocations: 7.938 kB / 0.9853 GB, free: 13.83 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 (3): * Single equations (assignments): 3 * 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.0004592/0.008652, allocations: 0.728 MB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.008892, allocations: 71.86 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.008895, allocations: 0 / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.008995, allocations: 31.97 kB / 0.9862 GB, free: 12.97 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.009195, allocations: 8 kB / 0.9862 GB, free: 12.96 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.009526, allocations: 150.4 kB / 0.9863 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.372e-05/0.009569, allocations: 75.22 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.009594, allocations: 7.984 kB / 0.9864 GB, free: 12.67 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.009631, allocations: 12.5 kB / 0.9864 GB, free: 12.66 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/0.009631, allocations: 0 / 0.9864 GB, free: 12.66 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.02366, allocations: 2.316 MB / 0.9887 GB, free: 10.48 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.722/6.745, allocations: 12.22 kB / 0.9887 GB, free: 10.48 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.799028107896447]